Skip to content

Commit

Permalink
Screwdriver: drop nodes if no longer attached.
Browse files Browse the repository at this point in the history
This should be fairly cheap and pops off items if needed.
  • Loading branch information
sofar authored and paramat committed Mar 12, 2017
1 parent efb81d1 commit d5e19d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mods/screwdriver/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d5e19d7

Please sign in to comment.