Skip to content

Commit

Permalink
Fix Max ammo display in tables
Browse files Browse the repository at this point in the history
  • Loading branch information
bonii-xx committed Oct 30, 2014
1 parent 5a03a15 commit 62904b9
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -135,7 +135,7 @@ private static void drawDurability(NBTTagCompound tags) {

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);
Expand Down

0 comments on commit 62904b9

Please sign in to comment.