This commit is contained in:
joflashstudios 2015-06-14 20:09:29 -04:00
parent 2b17e7e949
commit 03e252ef84

View file

@ -39,7 +39,7 @@ public class ChargeHud
{ {
if (key.config.isPressed()) if (key.config.isPressed())
{ {
if (showHud == true) if (showHud)
{ {
showHud = false; showHud = false;
} }
@ -84,7 +84,7 @@ public class ChargeHud
{ {
color = Color.DARK_RED; color = Color.DARK_RED;
} }
mc.fontRenderer.drawString(color + Double.toString(CurrentCharge) + "/" + Double.toString(MaxCharge), 20, 25, 0); mc.fontRenderer.drawString(color + Integer.toString((int)CurrentCharge) + "/" + Integer.toString((int)MaxCharge), 20, 25, 0);
} }
} }