From 9ae61e21bdbbf2e616dfeff159f3fb9a4ac50de8 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 --- extranodes/init.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/extranodes/init.lua b/extranodes/init.lua index 22a1d9f..d2ffb2e 100644 --- a/extranodes/init.lua +++ b/extranodes/init.lua @@ -1,3 +1,8 @@ +if not rawget(_G, "stairsplus") then + minetest.log("info", "[technic/extranodes] stairsplus not found") + return +end + -- Minetest 0.4.6 mod: extranodes -- namespace: technic -- Boilerplate to support localized strings if intllib mod is installed.