From 1c86092894a8a549c06c8eecd50ec69548ff3fa5 Mon Sep 17 00:00:00 2001 From: Joachim Stolberg Date: Fri, 5 May 2023 19:41:16 +0200 Subject: [PATCH] Add hyperloop chest only if the hyperloop mod is available --- init.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 76058bc..130fc28 100644 --- a/init.lua +++ b/init.lua @@ -199,7 +199,9 @@ dofile(MP.."/basic_machines/itemsource.lua") dofile(MP.."/basic_machines/recycler.lua") dofile(MP.."/basic_machines/concentrator.lua") dofile(MP.."/basic_machines/recipeblock.lua") -dofile(MP.."/basic_machines/ta5_chest.lua") +if minetest.global_exists("hyperloop") then + dofile(MP.."/basic_machines/ta5_chest.lua") +end -- Liquids II dofile(MP.."/liquids/tank.lua")