From 2a56539e31845460080f633dc5a47f276b60dd12 Mon Sep 17 00:00:00 2001 From: HybridDog Date: Sat, 14 Feb 2015 21:49:54 +0100 Subject: [PATCH] test if stairsplus is available log if stairsplus isnt available abort if stairsplus isnt available --- extranodes/init.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/extranodes/init.lua b/extranodes/init.lua index 6f96217..c8c3f36 100644 --- a/extranodes/init.lua +++ b/extranodes/init.lua @@ -1,3 +1,7 @@ +if not rawget(_G, "stairsplus") then + error("[technic/extranodes] stairsplus not found") +end + -- Minetest 0.4.6 mod: extranodes -- namespace: technic -- Boilerplate to support localized strings if intllib mod is installed.