Skip to content
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 12, 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)

if not minetest.setting_getbool("creative_mode") then

0 comments on commit d5e19d7

Please sign in to comment.