mirror of
https://github.com/minetest/minetest_game.git
synced 2025-06-28 04:40:22 +02:00
Always return the leftover ItemStack for on_place and on_rightclick
This commit is contained in:
@ -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
|
||||
})
|
||||
|
Reference in New Issue
Block a user