coconut fix
This commit is contained in:
parent
2ea77e04dd
commit
82eabf9099
@ -220,7 +220,7 @@ minetest.register_node("fruit:palm_leaves_coconut", {
|
|||||||
minetest.env:add_item(pos, "mapgen:palm_leaves")
|
minetest.env:add_item(pos, "mapgen:palm_leaves")
|
||||||
end,
|
end,
|
||||||
on_rightclick = function(pos)
|
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
|
pos.y = pos.y-0.5
|
||||||
--minetest.add_item(pos, "fruit:coconut")
|
--minetest.add_item(pos, "fruit:coconut")
|
||||||
end,
|
end,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user