backpacks: fix alias loop cos use wrong var
This commit is contained in:
parent
f286a8a5f7
commit
502081be3e
@ -122,14 +122,13 @@ local wooldyes = {
|
||||
{code = "magenta", name = "Magenta"},
|
||||
{code = "orange", name = "Orange"},
|
||||
{code = "violet", name = "Violet"},
|
||||
-- {code = "brown", name = "Brown"},
|
||||
{code = "pink", name = "Pink"},
|
||||
{code = "dark_grey", name = "Dark Grey"},
|
||||
{code = "dark_green", name = "Dark Green"},
|
||||
}
|
||||
|
||||
for _,colourdesc in pairs(wooldyes) do
|
||||
minetest.register_alias("backpacks:backpack_wool_"..wooldyes.code, "backpacks:backpack_wool")
|
||||
minetest.register_alias("backpacks:backpack_wool_"..colourdesc.code, "backpacks:backpack_wool")
|
||||
end
|
||||
|
||||
minetest.register_alias("backpacks:backpack_wool", "backpacks:backpack_wool_brown")
|
||||
|
Loading…
x
Reference in New Issue
Block a user