diff options
| author | Martin Robertz <dream-master@gmx.net> | 2020-02-23 21:05:10 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-23 21:05:10 +0100 |
| commit | 1b4c89b696e6320d5f8e8d7e35429fb2031a732d (patch) | |
| tree | bfe5b0376bfb81909426be12c49ab422af8cf351 /src/main/java/gregtech/GT_Mod.java | |
| parent | 386d567ef92d25dd6416f1b88daca9041dcca7d0 (diff) | |
| parent | e232d8968b8b09fa6b1c0b3f99270f87edde9c41 (diff) | |
| download | GT5-Unofficial-1b4c89b696e6320d5f8e8d7e35429fb2031a732d.tar.gz GT5-Unofficial-1b4c89b696e6320d5f8e8d7e35429fb2031a732d.tar.bz2 GT5-Unofficial-1b4c89b696e6320d5f8e8d7e35429fb2031a732d.zip | |
Merge pull request #243 from repo-alt/feature/debugCommand
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.java | 5 |
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 |
