diff --git a/homedecor/books.lua b/homedecor/books.lua index 74c8f90c..b6790e33 100644 --- a/homedecor/books.lua +++ b/homedecor/books.lua @@ -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)