diff options
author | Jason Mitchell <mitchej@gmail.com> | 2021-01-24 00:37:23 -0800 |
---|---|---|
committer | Jason Mitchell <mitchej@gmail.com> | 2021-01-24 00:37:23 -0800 |
commit | 8ecc28d1317e01036a6d0f1cefa34b0aacd2d16a (patch) | |
tree | 6ce989529cb927ff79d2a07cd3e72176d060099a /src/main/java/com/detrav/proxies/CommonProxy.java | |
parent | bf8c5581ff93b056a03017f858a8d907a2fa69e2 (diff) | |
download | GT5-Unofficial-8ecc28d1317e01036a6d0f1cefa34b0aacd2d16a.tar.gz GT5-Unofficial-8ecc28d1317e01036a6d0f1cefa34b0aacd2d16a.tar.bz2 GT5-Unofficial-8ecc28d1317e01036a6d0f1cefa34b0aacd2d16a.zip |
Selectable ores on electronic prospector
* Cleaned up some class/file names
* Removed unused code/comments
* Cached other mods being loaded
* Various optimizations
Diffstat (limited to 'src/main/java/com/detrav/proxies/CommonProxy.java')
-rw-r--r-- | src/main/java/com/detrav/proxies/CommonProxy.java | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/main/java/com/detrav/proxies/CommonProxy.java b/src/main/java/com/detrav/proxies/CommonProxy.java index 5ba04beab6..d1595b07fb 100644 --- a/src/main/java/com/detrav/proxies/CommonProxy.java +++ b/src/main/java/com/detrav/proxies/CommonProxy.java @@ -1,7 +1,7 @@ package com.detrav.proxies; import com.detrav.events.DetravLoginEventHandler; -import com.detrav.gui.DetravGuiProPick; +import com.detrav.gui.DetravScannerGUI; import cpw.mods.fml.common.network.IGuiHandler; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.world.World; @@ -22,7 +22,7 @@ public class CommonProxy implements IGuiHandler { @Override public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) { switch (ID) { - case DetravGuiProPick.GUI_ID: + case DetravScannerGUI.GUI_ID: return null; default: return null; @@ -32,22 +32,20 @@ public class CommonProxy implements IGuiHandler { @Override public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) { switch (ID) { - case DetravGuiProPick.GUI_ID: - return new DetravGuiProPick(); + case DetravScannerGUI.GUI_ID: + return new DetravScannerGUI(); default: return null; } } - public void openProPickGui() - { + public void openProspectorGUI() { //just Client code } - public void onPreInit() - { + public void onPreInit() { } |