coconut fix

This commit is contained in:
D00Med 2017-09-19 10:16:15 +10:00
parent 2ea77e04dd
commit 82eabf9099

View File

@ -220,7 +220,7 @@ minetest.register_node("fruit:palm_leaves_coconut", {
minetest.env:add_item(pos, "mapgen:palm_leaves")
end,
on_rightclick = function(pos)
minetest.set_node(pos, {name="default:palm_leaves"})
minetest.set_node(pos, {name="mapgen:palm_leaves"})
pos.y = pos.y-0.5
--minetest.add_item(pos, "fruit:coconut")
end,