mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-12-23 00:20:17 +01:00
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