mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +00:00
Fix Max ammo display in tables
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user