check for moreblocks before assuming stairsplus can be used :-)
This commit is contained in:
parent
12e0bb88c8
commit
2f110809d1
5
init.lua
5
init.lua
|
@ -269,8 +269,8 @@ for _, shade in ipairs(coloredwood.greys) do
|
|||
table.insert(coloredwood.old_static_nodes, "coloredwood:fence_"..shade)
|
||||
end
|
||||
|
||||
-- add all of the stairsplus nodes
|
||||
|
||||
-- add all of the stairsplus nodes, if moreblocks is installed.
|
||||
if coloredwood.enable_stairsplus then
|
||||
for _, shape in ipairs(circular_saw.names) do
|
||||
local a = shape[1]
|
||||
local b = shape[2]
|
||||
|
@ -292,6 +292,7 @@ for _, shape in ipairs(circular_saw.names) do
|
|||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
minetest.register_lbm({
|
||||
name = "coloredwood:convert",
|
||||
|
|
Loading…
Reference in New Issue