mirror of
https://github.com/minetest-mods/BobBlocks.git
synced 2024-11-14 14:50:18 +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"
|
||||
end
|
||||
|
||||
local paletteidx, _ = unifieddyes.getpaletteidx("unifieddyes:"..newcolor, false)
|
||||
local paletteidx, _ = unifieddyes.getpaletteidx("unifieddyes:"..newcolor, "extended")
|
||||
local newnode = "bobblocks:block"
|
||||
|
||||
if string.find(basename, "grey") then
|
||||
paletteidx, _ = unifieddyes.getpaletteidx("unifieddyes:grey", false)
|
||||
paletteidx, _ = unifieddyes.getpaletteidx("unifieddyes:grey", "extended")
|
||||
if string.find(basename, "pole") then
|
||||
newnode = "bobblocks:wavypole"
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue
Block a user