Cleanup #2
Reverted switch statement change, ended up doing more harm than good.
This commit is contained in:
parent
ba033fea5b
commit
def4c15277
3 changed files with 5 additions and 5 deletions
|
@ -6,11 +6,13 @@ import cpw.mods.fml.common.network.IGuiHandler;
|
|||
|
||||
public class CommonGuiHandler implements IGuiHandler
|
||||
{
|
||||
public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) {
|
||||
public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z)
|
||||
{
|
||||
return ObsidianIngotsCore.proxy.getServerGui(ID, player, world, x, y, z);
|
||||
}
|
||||
|
||||
public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) {
|
||||
public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z)
|
||||
{
|
||||
return ObsidianIngotsCore.proxy.getClientGui(ID, player, world, x, y, z);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -40,7 +40,6 @@ import net.uberkat.obsidian.common.TileEntityTheoreticalElementizer;
|
|||
*/
|
||||
public class ClientProxy extends CommonProxy
|
||||
{
|
||||
@Override
|
||||
public void registerRenderInformation()
|
||||
{
|
||||
System.out.println("[ObsidianIngots] Beginning render initiative...");
|
||||
|
@ -67,7 +66,6 @@ public class ClientProxy extends CommonProxy
|
|||
System.out.println("[ObsidianIngots] Utility initiative complete.");
|
||||
}
|
||||
|
||||
@Override
|
||||
public GuiScreen getClientGui(int ID, EntityPlayer player, World world, int x, int y, int z)
|
||||
{
|
||||
switch(ID)
|
||||
|
|
|
@ -28,7 +28,7 @@ public class ClientTickHandler implements ITickHandler
|
|||
|
||||
public EnumSet<TickType> ticks()
|
||||
{
|
||||
return EnumSet.of(TickType.CLIENT, TickType.WORLDLOAD);
|
||||
return EnumSet.of(TickType.CLIENT);
|
||||
}
|
||||
|
||||
public String getLabel()
|
||||
|
|
Loading…
Reference in a new issue