Fixed moreblocks' stairsplus checking

This commit is contained in:
TenPlus1 2017-08-22 09:56:59 +01:00
parent 7c39b7cbfe
commit 144d36cc63
2 changed files with 2 additions and 1 deletions

View File

@ -1,3 +1,4 @@
default
stairs
moreblocks?
lucky_block?

View File

@ -42,7 +42,7 @@ for _, clay in pairs(clay) do
})
-- register stairsplus stairs if found
if minetest.global_exists("stairsplus") then
if minetest.get_modpath("moreblocks") then
stairsplus:register_all("bakedclay", "baked_clay_" .. clay[1], "bakedclay:" .. clay[1], {
description = clay[2] .. " Baked Clay",