From 831055095c2e01d4263d2c3e7861794a52434283 Mon Sep 17 00:00:00 2001 From: Vanessa Dannenberg Date: Wed, 18 Sep 2019 20:28:42 -0400 Subject: [PATCH] remove debug prints --- api.lua | 3 --- 1 file changed, 3 deletions(-) diff --git a/api.lua b/api.lua index e067697..224754d 100644 --- a/api.lua +++ b/api.lua @@ -739,8 +739,6 @@ function signs_lib.after_place_node(pos, placer, itemstack, pointed_thing, locke local pdef = minetest.registered_items[pnode.name] if (def.allow_onpole ~= false) and signs_lib.check_for_pole(pos, pointed_thing) then - print("allow onpole") - print(def.paramtype2) local newparam2 local lookdir = minetest.yaw_to_dir(placer:get_look_horizontal()) if def.paramtype2 == "wallmounted" then @@ -749,7 +747,6 @@ function signs_lib.after_place_node(pos, placer, itemstack, pointed_thing, locke newparam2 = minetest.dir_to_facedir(lookdir) end local node = minetest.get_node(pos) - print(node.param2, newparam2) minetest.swap_node(pos, {name = itemstack:get_name().."_onpole", param2 = newparam2}) elseif def.allow_hanging and signs_lib.check_for_ceiling(pointed_thing) then local newparam2 = minetest.dir_to_facedir(placer:get_look_dir())