diff options
author | Alkalus <3060479+draknyte1@users.noreply.github.com> | 2019-05-17 11:53:34 +1000 |
---|---|---|
committer | Alkalus <3060479+draknyte1@users.noreply.github.com> | 2019-05-17 11:53:34 +1000 |
commit | be850d4bcc620c6f30ab4723085a2b73b34e07fa (patch) | |
tree | 32716347a80a22c68972a454bf81744829270549 /src/Java/gtPlusPlus/GTplusplus.java | |
parent | 8b26a2af88e0a187faad9add2838b4916dfd2c1e (diff) | |
download | GT5-Unofficial-be850d4bcc620c6f30ab4723085a2b73b34e07fa.tar.gz GT5-Unofficial-be850d4bcc620c6f30ab4723085a2b73b34e07fa.tar.bz2 GT5-Unofficial-be850d4bcc620c6f30ab4723085a2b73b34e07fa.zip |
+ Added command to enable Debug Mode while GT++ is running. Use "/debugmodegtpp".
+ Added missing class.
Diffstat (limited to 'src/Java/gtPlusPlus/GTplusplus.java')
-rw-r--r-- | src/Java/gtPlusPlus/GTplusplus.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Java/gtPlusPlus/GTplusplus.java b/src/Java/gtPlusPlus/GTplusplus.java index 424a63e9bf..c51b2e2997 100644 --- a/src/Java/gtPlusPlus/GTplusplus.java +++ b/src/Java/gtPlusPlus/GTplusplus.java @@ -30,6 +30,7 @@ import gregtech.api.util.Recipe_GT; import gregtech.api.util.SemiFluidFuelHandler; import gtPlusPlus.api.objects.Logger; import gtPlusPlus.core.commands.CommandDebugChunks; +import gtPlusPlus.core.commands.CommandEnableDebugWhileRunning; import gtPlusPlus.core.commands.CommandMath; import gtPlusPlus.core.common.CommonProxy; import gtPlusPlus.core.config.ConfigHandler; @@ -231,7 +232,8 @@ public class GTplusplus implements ActionListener { public synchronized void serverStarting(final FMLServerStartingEvent event) { INIT_PHASE.SERVER_START.setPhaseActive(true); mChunkLoading.serverStarting(event); - event.registerServerCommand(new CommandMath()); + event.registerServerCommand(new CommandMath()); + event.registerServerCommand(new CommandEnableDebugWhileRunning()); event.registerServerCommand(new CommandDebugChunks()); if (LoadedMods.Thaumcraft) { event.registerServerCommand(new CommandDumpAspects()); |