Skip to content
Permalink
Browse files

Screwdriver: drop nodes if no longer attached.

This should be fairly cheap and pops off items if needed.
  • Loading branch information...
sofar authored and paramat committed Mar 9, 2017
1 parent efb81d1 commit d5e19d70c253f299f155e61d1e5f17585ba5112d
Showing with 1 addition and 0 deletions.
  1. +1 −0 mods/screwdriver/init.lua
@@ -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

0 comments on commit d5e19d7

Please sign in to comment.
You can’t perform that action at this time.