aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/GT_Mod.java
diff options
context:
space:
mode:
authorrepo_alt <wvk17@yandex.ru>2020-02-23 22:21:13 +0300
committerrepo_alt <wvk17@yandex.ru>2020-02-23 22:21:13 +0300
commite232d8968b8b09fa6b1c0b3f99270f87edde9c41 (patch)
tree9bf90a27dbc757f8a8e41b2f13fae1d040515eeb /src/main/java/gregtech/GT_Mod.java
parentadd3853f937615437dc8644d1bd116541951f432 (diff)
downloadGT5-Unofficial-e232d8968b8b09fa6b1c0b3f99270f87edde9c41.tar.gz
GT5-Unofficial-e232d8968b8b09fa6b1c0b3f99270f87edde9c41.tar.bz2
GT5-Unofficial-e232d8968b8b09fa6b1c0b3f99270f87edde9c41.zip
OP command to toggle debug flags
Diffstat (limited to 'src/main/java/gregtech/GT_Mod.java')
-rw-r--r--src/main/java/gregtech/GT_Mod.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/gregtech/GT_Mod.java b/src/main/java/gregtech/GT_Mod.java
index 7b29fb0355..2d0b7257d0 100644
--- a/src/main/java/gregtech/GT_Mod.java
+++ b/src/main/java/gregtech/GT_Mod.java
@@ -10,7 +10,6 @@ import gregtech.api.enchants.Enchantment_EnderDamage;
import gregtech.api.enchants.Enchantment_Radioactivity;
import gregtech.api.enums.*;
import gregtech.api.interfaces.internal.IGT_Mod;
-import gregtech.api.objects.GT_ChunkManager;
import gregtech.api.objects.ItemData;
import gregtech.api.objects.XSTR;
import gregtech.api.util.*;
@@ -23,6 +22,7 @@ import gregtech.common.entities.GT_Entity_Arrow_Potion;
import gregtech.common.items.GT_MetaGenerated_Tool_01;
import gregtech.common.items.armor.components.LoadArmorComponents;
import gregtech.common.items.behaviors.Behaviour_DataOrb;
+import gregtech.common.misc.GT_Command;
import gregtech.common.tileentities.machines.basic.GT_MetaTileEntity_Massfabricator;
import gregtech.common.tileentities.storage.GT_MetaTileEntity_DigitalChestBase;
import gregtech.loaders.load.GT_CoverBehaviorLoader;
@@ -1179,8 +1179,7 @@ public class GT_Mod implements IGT_Mod {
tRunnable.run();
}
} catch (Throwable e) {e.printStackTrace(GT_Log.err);}
- if (GT_Values.debugChunkloaders)
- aEvent.registerServerCommand(new GT_ChunkManager.DebugCommand());
+ aEvent.registerServerCommand(new GT_Command());
}
@Mod.EventHandler