diff --git a/src/main/java/tconstruct/armor/ArmorTickHandler.java b/src/main/java/tconstruct/armor/ArmorTickHandler.java index 9725690f..49bffc1f 100644 --- a/src/main/java/tconstruct/armor/ArmorTickHandler.java +++ b/src/main/java/tconstruct/armor/ArmorTickHandler.java @@ -2,14 +2,13 @@ package tconstruct.armor; import cpw.mods.fml.common.eventhandler.SubscribeEvent; import cpw.mods.fml.common.gameevent.TickEvent.ClientTickEvent; -import cpw.mods.fml.relauncher.*; +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; import net.minecraft.client.Minecraft; -import tconstruct.client.ArmorControls; public class ArmorTickHandler { - Minecraft mc = Minecraft.getMinecraft(); - ArmorControls controlInstance = ((ArmorProxyClient) TinkerArmor.proxy).controlInstance; + private final Minecraft mc = Minecraft.getMinecraft(); @SideOnly(Side.CLIENT) @SubscribeEvent @@ -17,7 +16,7 @@ public class ArmorTickHandler { /*TinkerWorld.oreBerry.setGraphicsLevel(Blocks.leaves.field_150121_P); TinkerWorld.oreBerrySecond.setGraphicsLevel(Blocks.leaves.field_150121_P); TinkerWorld.slimeLeaves.setGraphicsLevel(Blocks.leaves.field_150121_P);*/ - if (mc.thePlayer != null && mc.thePlayer.onGround) controlInstance.landOnGround(); + if (mc.thePlayer != null && mc.thePlayer.onGround) ArmorProxyClient.controlInstance.landOnGround(); } /*