mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-04 23:03:51 +01:00
Update falling nodes after eating up cake
This commit is contained in:
parent
0bb0ba91d9
commit
c328a9b1bc
@ -73,6 +73,7 @@ local register_slice = function(level, nodebox, desc)
|
||||
on_rightclick = function(pos, node, clicker, itemstack)
|
||||
minetest.do_item_eat(2, ItemStack("mcl:cake:cake 0"), ItemStack("mcl_cake:cake_1"), clicker, {type="nothing"})
|
||||
minetest.remove_node(pos)
|
||||
core.check_for_falling(pos)
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user