diff options
author | Jordan Byrne <draknyte1@hotmail.com> | 2017-12-10 15:37:46 +1000 |
---|---|---|
committer | Jordan Byrne <draknyte1@hotmail.com> | 2017-12-10 15:37:46 +1000 |
commit | 5a90d0ab107b4711b2b22aa3b2964ce7d669a216 (patch) | |
tree | d9ea8d2b4382f942ee08b9f52499f3bf20b6ed7f /src/Java/gtPlusPlus/core/proxy | |
parent | 27c1a066d6aaa2c3c8f3847909323c78ab693e37 (diff) | |
download | GT5-Unofficial-5a90d0ab107b4711b2b22aa3b2964ce7d669a216.tar.gz GT5-Unofficial-5a90d0ab107b4711b2b22aa3b2964ce7d669a216.tar.bz2 GT5-Unofficial-5a90d0ab107b4711b2b22aa3b2964ce7d669a216.zip |
% Major Refactor of the base GT++ class.
% Moved Config Handling to it's own class.
% Renamed configSwitches.class to ConfigSwitches.class.
+ Added framework for Segment Analytics.
Diffstat (limited to 'src/Java/gtPlusPlus/core/proxy')
-rw-r--r-- | src/Java/gtPlusPlus/core/proxy/ClientProxy.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Java/gtPlusPlus/core/proxy/ClientProxy.java b/src/Java/gtPlusPlus/core/proxy/ClientProxy.java index 4a9584466a..448188379a 100644 --- a/src/Java/gtPlusPlus/core/proxy/ClientProxy.java +++ b/src/Java/gtPlusPlus/core/proxy/ClientProxy.java @@ -22,7 +22,7 @@ import gtPlusPlus.core.entity.projectile.EntitySulfuricAcidPotion; import gtPlusPlus.core.entity.projectile.EntityToxinballSmall; import gtPlusPlus.core.handler.render.FirepitRender; import gtPlusPlus.core.item.ModItems; -import gtPlusPlus.core.lib.CORE.configSwitches; +import gtPlusPlus.core.lib.CORE.ConfigSwitches; import gtPlusPlus.core.lib.LoadedMods; import gtPlusPlus.core.tileentities.general.TileEntityFirepit; import gtPlusPlus.core.util.Utils; @@ -44,7 +44,7 @@ public class ClientProxy extends CommonProxy implements Runnable{ @SubscribeEvent public void receiveRenderSpecialsEvent(net.minecraftforge.client.event.RenderPlayerEvent.Specials.Pre aEvent) { - if (configSwitches.enableCustomCapes){ + if (ConfigSwitches.enableCustomCapes){ mCapeRenderer.receiveRenderSpecialsEvent(aEvent); } } @@ -55,7 +55,7 @@ public class ClientProxy extends CommonProxy implements Runnable{ @Override public void preInit(final FMLPreInitializationEvent e) { super.preInit(e); - if (configSwitches.enableCustomCapes){ + if (ConfigSwitches.enableCustomCapes){ onPreLoad(); } //Do this weird things for textures. @@ -153,7 +153,7 @@ public class ClientProxy extends CommonProxy implements Runnable{ public void onPreLoad() { - if (configSwitches.enableCustomCapes){ + if (ConfigSwitches.enableCustomCapes){ String arr$[] = { "draknyte1", "fobius" }; @@ -168,7 +168,7 @@ public class ClientProxy extends CommonProxy implements Runnable{ public void run() { try { - if (configSwitches.enableCustomCapes){ + if (ConfigSwitches.enableCustomCapes){ Utils.LOG_INFO("GT++ Mod: Downloading Cape List."); @SuppressWarnings("resource") Scanner tScanner = new Scanner(new URL("https://github.com/draknyte1/GTplusplus/blob/master/SupporterList.txt").openStream()); |