forked from mtcontrib/homedecor_modpack
do the same for the old static->param2 LBM
This commit is contained in:
parent
efbc491245
commit
1ef6e9b69f
@ -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)
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user