mirror of
https://github.com/minetest-mods/BobBlocks.git
synced 2025-01-23 08:20:27 +01:00
do the same for the old static->param2 LBM
This commit is contained in:
parent
56beb55b63
commit
ef8a1c1fb8
@ -283,11 +283,11 @@ minetest.register_lbm({
|
|||||||
newcolor = "light_grey"
|
newcolor = "light_grey"
|
||||||
end
|
end
|
||||||
|
|
||||||
local paletteidx, _ = unifieddyes.getpaletteidx("unifieddyes:"..newcolor, false)
|
local paletteidx, _ = unifieddyes.getpaletteidx("unifieddyes:"..newcolor, "extended")
|
||||||
local newnode = "bobblocks:block"
|
local newnode = "bobblocks:block"
|
||||||
|
|
||||||
if string.find(basename, "grey") then
|
if string.find(basename, "grey") then
|
||||||
paletteidx, _ = unifieddyes.getpaletteidx("unifieddyes:grey", false)
|
paletteidx, _ = unifieddyes.getpaletteidx("unifieddyes:grey", "extended")
|
||||||
if string.find(basename, "pole") then
|
if string.find(basename, "pole") then
|
||||||
newnode = "bobblocks:wavypole"
|
newnode = "bobblocks:wavypole"
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user