do the same for the old static->param2 LBM
parent
efbc491245
commit
1ef6e9b69f
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue