forked from mtcontrib/homedecor_modpack
remove debug prints
This commit is contained in:
parent
a599b041d4
commit
f29e2fc698
@ -224,13 +224,9 @@ minetest.register_lbm({
|
|||||||
color = "medium_"..color
|
color = "medium_"..color
|
||||||
end
|
end
|
||||||
|
|
||||||
print(name.." --> "..newname, color)
|
|
||||||
|
|
||||||
local paletteidx = unifieddyes.getpaletteidx("unifieddyes:"..color, "wallmounted")
|
local paletteidx = unifieddyes.getpaletteidx("unifieddyes:"..color, "wallmounted")
|
||||||
local param2 = paletteidx + new_fdir
|
local param2 = paletteidx + new_fdir
|
||||||
|
|
||||||
print(" ("..paletteidx..", "..param2..")")
|
|
||||||
|
|
||||||
minetest.swap_node(pos, { name = newname, param2 = param2 })
|
minetest.swap_node(pos, { name = newname, param2 = param2 })
|
||||||
local meta = minetest.get_meta(pos)
|
local meta = minetest.get_meta(pos)
|
||||||
meta:set_string("dye", "unifieddyes:"..color)
|
meta:set_string("dye", "unifieddyes:"..color)
|
||||||
|
Loading…
Reference in New Issue
Block a user