Depend on mcl_nether when used with MCL

This commit is contained in:
mrkubax10 2023-03-23 09:01:48 +02:00
parent 05c55c1150
commit 53879fdd93
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@
local S=minetest.get_translator("industrialtest") local S=minetest.get_translator("industrialtest")
industrialtest.mtgAvailable=minetest.get_modpath("default") industrialtest.mtgAvailable=minetest.get_modpath("default")
local requiredMclModules={"mcl_core","mcl_copper","mcl_armor","mcl_deepslate"} local requiredMclModules={"mcl_core","mcl_copper","mcl_armor","mcl_deepslate","mcl_nether"}
industrialtest.mclAvailable=true industrialtest.mclAvailable=true
for _,mod in ipairs(requiredMclModules) do for _,mod in ipairs(requiredMclModules) do
if not minetest.get_modpath(mod) then if not minetest.get_modpath(mod) then

View File

@ -1,5 +1,5 @@
name=industrialtest name=industrialtest
description=Adds various machinery description=Adds various machinery
optional_depends=default,3d_armor,mcl_core,mcl_copper,mcl_armor,mcl_deepslate optional_depends=default,3d_armor,mcl_core,mcl_copper,mcl_armor,mcl_deepslate,mcl_nether
author=IndustrialTest Team author=IndustrialTest Team
title=IndustrialTest title=IndustrialTest