From 1ef6e9b69f6c44b16c0e4d12c898335f940719f1 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Fri, 24 Feb 2017 21:27:22 -0500 Subject: [PATCH] do the same for the old static->param2 LBM --- homedecor/bathroom_furniture.lua | 2 +- homedecor/lighting.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/homedecor/bathroom_furniture.lua b/homedecor/bathroom_furniture.lua index 7a79ecd8..706cfa1d 100644 --- a/homedecor/bathroom_furniture.lua +++ b/homedecor/bathroom_furniture.lua @@ -159,7 +159,7 @@ minetest.register_lbm({ color = color.."_s50" end - local paletteidx = unifieddyes.getpaletteidx("unifieddyes:"..color) + local paletteidx = unifieddyes.getpaletteidx("unifieddyes:"..color, "extended") minetest.set_node(pos, { name = newname, param2 = paletteidx }) local meta = minetest.get_meta(pos) diff --git a/homedecor/lighting.lua b/homedecor/lighting.lua index a9f8ad5d..43d1102c 100644 --- a/homedecor/lighting.lua +++ b/homedecor/lighting.lua @@ -612,7 +612,7 @@ minetest.register_lbm({ color = "white" end - local paletteidx, _ = unifieddyes.getpaletteidx("unifieddyes:"..color, false) + local paletteidx, _ = unifieddyes.getpaletteidx("unifieddyes:"..color, "extended") local old_fdir local new_node = newname