From ac122a8f04adca5448c4f845c0ff63870e5a83c0 Mon Sep 17 00:00:00 2001 From: ChaosWormz Date: Sun, 18 Oct 2015 16:02:29 +0300 Subject: [PATCH] use minetest.global_exists --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 579fecc..7408086 100644 --- a/init.lua +++ b/init.lua @@ -130,6 +130,6 @@ minetest.register_ore({ dofile(minetest.get_modpath("morestones") .. "/stairs.lua") -if minetest.get_modpath("moreblocks") then +if minetest.global_exists("stairsplus") then dofile(minetest.get_modpath("morestones") .. "/moreblocks.lua") end