mirror of
https://github.com/GTNewHorizons/WirelessCraftingTerminal.git
synced 2026-11-26 23:02:58 +00:00
remove timing logging
This commit is contained in:
1 parent
9d1e6e9310
commit
c8fee02cdc
2 files changed
-38
No files matched your search
-7
@@ -3,7 +3,6 @@ package net.p455w0rd.wirelesscraftingterminal.common;
|
||||
import java.io.File;
|
||||
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.p455w0rd.wirelesscraftingterminal.common.utils.WCTLog;
|
||||
import net.p455w0rd.wirelesscraftingterminal.core.sync.network.NetworkHandler;
|
||||
import net.p455w0rd.wirelesscraftingterminal.creativetab.CreativeTabWCT;
|
||||
import net.p455w0rd.wirelesscraftingterminal.handlers.AchievementHandler;
|
||||
@@ -57,7 +56,6 @@ public class WirelessCraftingTerminal {
|
||||
|
||||
@EventHandler
|
||||
public void preInit(FMLPreInitializationEvent event) {
|
||||
long stopwatch = WCTLog.beginSection("PreInit");
|
||||
WirelessCraftingTerminal.WCTState = LoaderState.PREINITIALIZATION;
|
||||
WirelessCraftingTerminal.INSTANCE = this;
|
||||
creativeTab = new CreativeTabWCT(CreativeTabs.getNextID(), Reference.MODID).setNoScrollbar();
|
||||
@@ -66,29 +64,24 @@ public class WirelessCraftingTerminal {
|
||||
FMLCommonHandler.instance().bus().register(proxy);
|
||||
AEApi.instance().registries().wireless()
|
||||
.registerWirelessHandler((IWirelessTermHandler) ItemEnum.WIRELESS_CRAFTING_TERMINAL.getItem());
|
||||
WCTLog.endSection("PreInit", stopwatch);
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void init(FMLInitializationEvent event) {
|
||||
long stopwatch = WCTLog.beginSection("Init");
|
||||
IntegrationRegistry.INSTANCE.init();
|
||||
WirelessCraftingTerminal.WCTState = LoaderState.INITIALIZATION;
|
||||
if (!Loader.isModLoaded("dreamcraft")) {
|
||||
RecipeHandler.loadRecipes(!Reference.WCT_MINETWEAKER_OVERRIDE);
|
||||
}
|
||||
AchievementHandler.init();
|
||||
WCTLog.endSection("Init", stopwatch);
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void postInit(final FMLPostInitializationEvent event) {
|
||||
long stopwatch = WCTLog.beginSection("PostInit");
|
||||
IntegrationRegistry.INSTANCE.postInit();
|
||||
NetworkRegistry.INSTANCE.registerGuiHandler(WirelessCraftingTerminal.INSTANCE, new WCTGuiHandler());
|
||||
NetworkHandler.instance = new NetworkHandler("WCT");
|
||||
WirelessCraftingTerminal.proxy.removeItemsFromNEI();
|
||||
WCTLog.endSection("PostInit", stopwatch);
|
||||
}
|
||||
|
||||
public static LoaderState getLoaderState() {
|
||||
|
||||
Reference in new issue
Block a user