From 86f0b92dcfec38378bfb9d1337942380aaade71b Mon Sep 17 00:00:00 2001 From: HybridDog Date: Sat, 31 Jan 2015 09:05:50 +0100 Subject: [PATCH] check if stairsplus is available --- src/stairsplus.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/stairsplus.lua b/src/stairsplus.lua index 011fd85..27f51e2 100644 --- a/src/stairsplus.lua +++ b/src/stairsplus.lua @@ -51,8 +51,9 @@ There is one in each of the "stairsplus.register_all" sections. -- next section of stairsplus stuff. ~LazyJ if (minetest.get_modpath("moreblocks")) +and rawget(_G, "stairsplus") --- 'If' MoreBlocks was found, well, 'then' go ahead with this next part: +-- 'If' MoreBlocks was found and stairsplus is available, well, 'then' go ahead with this next part: then