mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-12-23 00:20:17 +01:00
don't reference lrfurn chair colors in homedecor chair LBM
use a local copy instead
This commit is contained in:
parent
763bcb2e95
commit
761b18c17e
@ -162,7 +162,25 @@ minetest.register_alias('armchair', 'homedecor:armchair')
|
||||
|
||||
homedecor.old_static_chairs = {}
|
||||
|
||||
for _, color in ipairs(lrfurn.colors) do
|
||||
local chair_colors = {
|
||||
"black",
|
||||
"brown",
|
||||
"blue",
|
||||
"cyan",
|
||||
"dark_grey",
|
||||
"dark_green",
|
||||
"green",
|
||||
"grey",
|
||||
"magenta",
|
||||
"orange",
|
||||
"pink",
|
||||
"red",
|
||||
"violet",
|
||||
"white",
|
||||
"yellow",
|
||||
}
|
||||
|
||||
for _, color in ipairs(chair_colors) do
|
||||
table.insert(homedecor.old_static_chairs, "homedecor:chair_"..color)
|
||||
table.insert(homedecor.old_static_chairs, "homedecor:armchair_"..color)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user