Add config for AE2Tunnel. Defaul off for now until fix.
This commit is contained in:
parent
86e1ee61c8
commit
5e38000ccc
3 changed files with 3 additions and 1 deletions
|
@ -237,6 +237,7 @@ public class GT_Mod implements IGT_Mod {
|
|||
gregtechproxy.mDisableIC2Cables = tMainConfig.get(aTextGeneral, "DisableIC2Cables", true).getBoolean(true);
|
||||
gregtechproxy.mAchievements = tMainConfig.get(aTextGeneral, "EnableAchievements", true).getBoolean(true);
|
||||
gregtechproxy.mAE2Integration = GregTech_API.sSpecialFile.get(ConfigCategories.general, "EnableAE2Integration", Loader.isModLoaded("appliedenergistics2"));
|
||||
gregtechproxy.mAE2Tunnel = GregTech_API.sSpecialFile.get(ConfigCategories.general, "EnableAE2Tunnel", false);
|
||||
gregtechproxy.mNerfedCombs = tMainConfig.get(aTextGeneral, "NerfCombs", true).getBoolean(true);
|
||||
gregtechproxy.mNerfedCrops = tMainConfig.get(aTextGeneral, "NerfCrops", true).getBoolean(true);
|
||||
gregtechproxy.mHideUnusedOres = tMainConfig.get(aTextGeneral, "HideUnusedOres", true).getBoolean(true);
|
||||
|
|
|
@ -145,6 +145,7 @@ public abstract class GT_Proxy implements IGT_Mod, IGuiHandler, IFuelHandler {
|
|||
public boolean mDisableIC2Cables = false;
|
||||
public boolean mAchievements = true;
|
||||
public boolean mAE2Integration = true;
|
||||
public boolean mAE2Tunnel = true;
|
||||
public boolean mArcSmeltIntoAnnealed = true;
|
||||
public boolean mMagneticraftRecipes = true;
|
||||
public boolean mImmersiveEngineeringRecipes = true;
|
||||
|
|
|
@ -9,7 +9,7 @@ import java.lang.reflect.Field;
|
|||
public class GT_AE2EnergyTunnelLoader implements Runnable {
|
||||
@Override
|
||||
public void run() {
|
||||
if (GT_Mod.gregtechproxy.mAE2Integration) {
|
||||
if (GT_Mod.gregtechproxy.mAE2Integration && GT_Mod.gregtechproxy.mAE2Tunnel) {
|
||||
try {
|
||||
load();
|
||||
} catch (Throwable e) {
|
||||
|
|
Loading…
Reference in a new issue