stairs: refactor wool registration, fixes wool:yellow stairs entry
This commit is contained in:
parent
ac52a77a40
commit
eab11b0034
@ -1,6 +1,8 @@
|
||||
for _,name in ipairs({"red", "green", "white", "black", "blue", "brown", "cyan",
|
||||
"grey", "dark_green", "dark_grey", "magenta", "orange", "pink",
|
||||
"red", "violet", "yellow"}) do
|
||||
local name = {"red", "green", "white", "black", "blue", "brown", "cyan",
|
||||
"grey", "dark_green", "dark_grey", "magenta", "orange", "pink",
|
||||
"red", "violet", "yellow"}
|
||||
for i = 1, 16 do
|
||||
local name = name[i]
|
||||
local nodename = "wool:"..name
|
||||
local tmp = minetest.registered_nodes[nodename]
|
||||
if not tmp then
|
||||
|
Loading…
x
Reference in New Issue
Block a user