Fix Max ammo display in tables

This commit is contained in:
Bernhard Bonigl committed 2014-10-30 13:08:01 +01:00
1 parent 5a03a15ec4
commit 62904b92dc
1 file changed
+1 -1
@@ -135,7 +135,7 @@ public final class ToolStationGuiHelper {
private static void drawAmmo(IAmmo ammoItem, ItemStack stack)
{
final int max = ammoItem.getAmmoCount(stack);
final int max = ammoItem.getMaxAmmo(stack);
final int current = ammoItem.getAmmoCount(stack);
write(StatCollector.translateToLocal("gui.toolstation21") + current + "/" + max);