diff options
Diffstat (limited to 'src/Java/gtPlusPlus/GTplusplus.java')
| -rw-r--r-- | src/Java/gtPlusPlus/GTplusplus.java | 12 | 
1 files changed, 6 insertions, 6 deletions
| diff --git a/src/Java/gtPlusPlus/GTplusplus.java b/src/Java/gtPlusPlus/GTplusplus.java index c51b2e2997..ee2bf6c940 100644 --- a/src/Java/gtPlusPlus/GTplusplus.java +++ b/src/Java/gtPlusPlus/GTplusplus.java @@ -69,7 +69,7 @@ import net.minecraftforge.fluids.FluidStack;  import net.minecraftforge.oredict.OreDictionary;  @MCVersion(value = "1.7.10") -@Mod(modid = CORE.MODID, name = CORE.name, version = CORE.VERSION, dependencies = "required-after:Forge; after:TConstruct; after:PlayerAPI; after:dreamcraft; after:IC2; after:ihl; after:psychedelicraft; after:gregtech; after:Forestry; after:MagicBees; after:CoFHCore; after:Growthcraft; after:Railcraft; after:CompactWindmills; after:ForbiddenMagic; after:MorePlanet; after:PneumaticCraft; after:ExtraUtilities; after:Thaumcraft; after:rftools; after:simplyjetpacks; after:BigReactors; after:EnderIO; after:tectech; after:GTRedtech; after:beyondrealitycore; after:OpenBlocks; after:IC2NuclearControl; after:TGregworks; after:StevesCarts;") +@Mod(modid = CORE.MODID, name = CORE.name, version = CORE.VERSION, dependencies = "required-after:Forge; after:TConstruct; after:PlayerAPI; after:dreamcraft; after:IC2; after:ihl; after:psychedelicraft; after:gregtech; after:Forestry; after:MagicBees; after:CoFHCore; after:Growthcraft; after:Railcraft; after:CompactWindmills; after:ForbiddenMagic; after:MorePlanet; after:PneumaticCraft; after:ExtraUtilities; after:Thaumcraft; after:rftools; after:simplyjetpacks; after:BigReactors; after:EnderIO; after:tectech; after:GTRedtech; after:beyondrealitycore; after:OpenBlocks; after:IC2NuclearControl; after:TGregworks; after:StevesCarts; after:xreliquary;")  public class GTplusplus implements ActionListener {  	public static enum INIT_PHASE { @@ -105,7 +105,6 @@ public class GTplusplus implements ActionListener {  	//Mod Instance  	@Mod.Instance(CORE.MODID)  	public static GTplusplus instance; -	public static Meta_GT_Proxy instanceGtProxy;  	//Material Loader  	public static GT_Material_Loader mGregMatLoader; @@ -181,8 +180,7 @@ public class GTplusplus implements ActionListener {  		mChunkLoading.preInit(event);  		proxy.preInit(event);  		Logger.INFO("Setting up our own GT_Proxy."); -		instanceGtProxy = Meta_GT_Proxy.instance; -		instanceGtProxy.preInit(); +		Meta_GT_Proxy.preInit();  		Core_Manager.preInit();  	} @@ -194,7 +192,7 @@ public class GTplusplus implements ActionListener {  		proxy.init(event);  		HazmatUtils.init();  		proxy.registerNetworkStuff(); -		instanceGtProxy.init(); +		Meta_GT_Proxy.init();  		Core_Manager.init();  		//Used by foreign players to generate .lang files for translation. @@ -211,7 +209,7 @@ public class GTplusplus implements ActionListener {  		mChunkLoading.postInit(event);  		proxy.postInit(event);  		BookHandler.runLater(); -		instanceGtProxy.postInit(); +		Meta_GT_Proxy.postInit();  		Core_Manager.postInit();  		//SprinklerHandler.registerModFerts(); @@ -238,12 +236,14 @@ public class GTplusplus implements ActionListener {  		if (LoadedMods.Thaumcraft) {  			event.registerServerCommand(new CommandDumpAspects());  		} +		Core_Manager.serverStart();  		INIT_PHASE.STARTED.setPhaseActive(true);  	}  	@Mod.EventHandler  	public synchronized void serverStopping(final FMLServerStoppingEvent event) {  		mChunkLoading.serverStopping(event); +		Core_Manager.serverStop();  		if (GregtechBufferThread.mBufferThreadAllocation.size() > 0) {  			for (GregtechBufferThread i : GregtechBufferThread.mBufferThreadAllocation.values()) {  				i.destroy(); | 
