From 144d36cc6313ca4dd1b82256b7f32a3f7a027c0a Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Tue, 22 Aug 2017 09:56:59 +0100 Subject: [PATCH] Fixed moreblocks' stairsplus checking --- depends.txt | 1 + init.lua | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/depends.txt b/depends.txt index 8901b48..4abda40 100644 --- a/depends.txt +++ b/depends.txt @@ -1,3 +1,4 @@ default stairs +moreblocks? lucky_block? \ No newline at end of file diff --git a/init.lua b/init.lua index e9f8077..82397a7 100644 --- a/init.lua +++ b/init.lua @@ -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",