Screwdriver: drop nodes if no longer attached.

This should be fairly cheap and pops off items if needed.
This commit is contained in:
Auke Kok 2017-03-08 21:57:10 -08:00 committed by paramat
parent efb81d188e
commit d5e19d70c2

@ -130,6 +130,7 @@ screwdriver.handler = function(itemstack, user, pointed_thing, mode, uses)
if should_rotate then
node.param2 = new_param2
minetest.swap_node(pos, node)
minetest.check_for_falling(pos)
end
if not minetest.setting_getbool("creative_mode") then