merge upstream commit: Always return the leftover ItemStack for on_place and on_rightclick
This commit is contained in:
parent
62d8261e42
commit
2052664a30
8 changed files with 713 additions and 8 deletions
|
@ -251,8 +251,8 @@ minetest.register_node("flowers:waterlily", {
|
|||
end
|
||||
if not minetest.setting_getbool("creative_mode") then
|
||||
itemstack:take_item()
|
||||
return itemstack
|
||||
end
|
||||
end
|
||||
return itemstack
|
||||
end
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue