Fixes #33
This commit is contained in:
parent
2b17e7e949
commit
03e252ef84
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue