forked from mtcontrib/homedecor_modpack
only register the alias for wrongly-named curtain nodes
if they were in fact wrongly-named.
This commit is contained in:
parent
e3de39bd05
commit
ccdbc80295
@ -217,8 +217,9 @@ for c in ipairs(curtaincolors) do
|
||||
--wall_side = = <default>
|
||||
},
|
||||
})
|
||||
minetest.register_alias("homedecor:curtain_"..color_d, "homedecor:curtain_"..color)
|
||||
|
||||
if color_d ~= color then
|
||||
minetest.register_alias("homedecor:curtain_"..color_d, "homedecor:curtain_"..color)
|
||||
end
|
||||
end
|
||||
|
||||
minetest.register_node('homedecor:air_conditioner', {
|
||||
|
Loading…
Reference in New Issue
Block a user