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",