Chargehud displays ints and no doubles

This commit is contained in:
Gig 2015-06-19 17:49:31 +01:00
parent 52deb162ff
commit eb37bf274a

View file

@ -108,7 +108,7 @@ public class ChargeHud
{
color = Color.DARK_RED;
}
mc.fontRenderer.drawString(color + Double.toString(CurrentCharge) + "/" + Double.toString(MaxCharge), 20, 5, 0);
mc.fontRenderer.drawString(color + Integer.toString((int)CurrentCharge) + "/" + Integer.toString((int)MaxCharge), 20, 5, 0);
}
}
}