mirror of
https://github.com/minetest/minetest_game.git
synced 2024-12-22 22:22:25 +01:00
Screwdriver: drop nodes if no longer attached.
This should be fairly cheap and pops off items if needed.
This commit is contained in:
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
|
||||
|
Loading…
Reference in New Issue
Block a user