Fixed moreblocks' stairsplus checking

This commit is contained in:
TenPlus1
2017-08-22 09:56:59 +01:00
부모 7c39b7cbfe
커밋 144d36cc63
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제

파일 보기

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

파일 보기

@@ -42,7 +42,7 @@ for _, clay in pairs(clay) do
}) })
-- register stairsplus stairs if found -- 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], { stairsplus:register_all("bakedclay", "baked_clay_" .. clay[1], "bakedclay:" .. clay[1], {
description = clay[2] .. " Baked Clay", description = clay[2] .. " Baked Clay",