From 46ca215d956318e241b127a884ce328de6da0708 Mon Sep 17 00:00:00 2001 From: iguanaman Date: Thu, 26 Dec 2013 11:35:14 +0900 Subject: [PATCH] Use left_height from GuiInGameForge for compat --- src/tconstruct/client/TClientEvents.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/tconstruct/client/TClientEvents.java b/src/tconstruct/client/TClientEvents.java index b36a669213a..0cb105b06a1 100644 --- a/src/tconstruct/client/TClientEvents.java +++ b/src/tconstruct/client/TClientEvents.java @@ -88,8 +88,6 @@ public void postStitch (TextureStitchEvent.Post event) private static final ResourceLocation hearts = new ResourceLocation("tinker", "textures/gui/newhearts.png"); private static final ResourceLocation icons = new ResourceLocation("textures/gui/icons.png"); - public static int left_height = 39; - public static int right_height = 39; Random rand = new Random(); int updateCounter = 0; @@ -131,7 +129,7 @@ public void renderHealthbar (RenderGameOverlayEvent.Pre event) this.rand.setSeed((long) (updateCounter * 312871)); int left = scaledWidth / 2 - 91; - int top = scaledHeight - left_height; + int top = scaledHeight - GuiIngameForge.left_height; int regen = -1; if (mc.thePlayer.isPotionActive(Potion.regeneration))