1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-12-23 00:20:17 +01:00

do the same for the old static->param2 LBM

This commit is contained in:
Vanessa Ezekowitz 2017-02-24 21:27:22 -05:00
parent efbc491245
commit 1ef6e9b69f
2 changed files with 2 additions and 2 deletions

View File

@ -159,7 +159,7 @@ minetest.register_lbm({
color = color.."_s50" color = color.."_s50"
end end
local paletteidx = unifieddyes.getpaletteidx("unifieddyes:"..color) local paletteidx = unifieddyes.getpaletteidx("unifieddyes:"..color, "extended")
minetest.set_node(pos, { name = newname, param2 = paletteidx }) minetest.set_node(pos, { name = newname, param2 = paletteidx })
local meta = minetest.get_meta(pos) local meta = minetest.get_meta(pos)

View File

@ -612,7 +612,7 @@ minetest.register_lbm({
color = "white" color = "white"
end end
local paletteidx, _ = unifieddyes.getpaletteidx("unifieddyes:"..color, false) local paletteidx, _ = unifieddyes.getpaletteidx("unifieddyes:"..color, "extended")
local old_fdir local old_fdir
local new_node = newname local new_node = newname