From 3b942c352f6e79e51bf0ccda2c8ebff0dd0401ee Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Sat, 28 Jan 2017 21:57:14 -0500 Subject: remove some debug statements --- init.lua | 4 ---- 1 file changed, 4 deletions(-) (limited to 'init.lua') diff --git a/init.lua b/init.lua index e874320..adf2474 100644 --- a/init.lua +++ b/init.lua @@ -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) -- cgit v1.2.3