summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-01-26 14:21:54 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2017-01-26 14:21:54 -0500
commit2959698111a6d7179676f8b3bdba738bf79b11d8 (patch)
treea23a38c7632a5d5bf10ca0ad534b419670e85515
parentb42376ba3da1e94bb5b4338db80ea6423653f3b3 (diff)
downloadunifieddyes-2959698111a6d7179676f8b3bdba738bf79b11d8.tar
unifieddyes-2959698111a6d7179676f8b3bdba738bf79b11d8.tar.gz
unifieddyes-2959698111a6d7179676f8b3bdba738bf79b11d8.tar.bz2
unifieddyes-2959698111a6d7179676f8b3bdba738bf79b11d8.tar.xz
unifieddyes-2959698111a6d7179676f8b3bdba738bf79b11d8.zip
remove debug statements
-rw-r--r--init.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/init.lua b/init.lua
index 1c4165d..25dd455 100644
--- a/init.lua
+++ b/init.lua
@@ -286,9 +286,6 @@ function unifieddyes.on_rightclick(pos, node, player, stack, pointed_thing, newn
else -- this path is used when you're just painting an existing node, rather than replacing one.
newnode = oldnode -- note that here, newnode/oldnode are a full node, not just the name.
if colorfdir then
- print("prevdye = "..dump(prevdye))
- print("hue = "..dump(hue).." "..dump(HUES[hue]))
- print("newnode.name = "..newnode.name)
if oldhue then
if hue ~= 0 then
newnode.name = string.gsub(newnode.name, "_"..oldhue, "_"..HUES[hue])
@@ -307,7 +304,6 @@ function unifieddyes.on_rightclick(pos, node, player, stack, pointed_thing, newn
minetest.registered_nodes[name] then
local placeable_node = minetest.registered_nodes[stack:get_name()]
minetest.set_node(pos2, placeable_node)
- print(minetest.get_node(pos).name)
stack:take_item()
return stack
end