diff options
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -254,16 +254,12 @@ end function unifieddyes.after_dig_node(pos, oldnode, oldmetadata, digger) local prevdye - print(dump(oldmetadata)) - if oldmetadata and oldmetadata.fields then prevdye = oldmetadata.fields.dye end local inv = digger:get_inventory() - print(dump(prevdye)) - if prevdye and not (inv:contains_item("main", prevdye) and creative_mode) and minetest.registered_items[prevdye] then if inv:room_for_item("main", prevdye) then inv:add_item("main", prevdye) |