remove debug prints

This commit is contained in:
Vanessa Ezekowitz 2017-02-06 09:34:21 -05:00
parent a599b041d4
commit f29e2fc698

View File

@ -224,13 +224,9 @@ minetest.register_lbm({
color = "medium_"..color
end
print(name.." --> "..newname, color)
local paletteidx = unifieddyes.getpaletteidx("unifieddyes:"..color, "wallmounted")
local param2 = paletteidx + new_fdir
print(" ("..paletteidx..", "..param2..")")
minetest.swap_node(pos, { name = newname, param2 = param2 })
local meta = minetest.get_meta(pos)
meta:set_string("dye", "unifieddyes:"..color)