forked from mrkubax10/industrialtest
Depend on mcl_nether when used with MCL
This commit is contained in:
parent
05c55c1150
commit
53879fdd93
@ -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
|
||||||
|
2
mod.conf
2
mod.conf
@ -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
|
Loading…
Reference in New Issue
Block a user