Display infinity symbol for "unlimited" unit cap

This commit is contained in:
Anuken
2021-11-01 12:27:00 -04:00
parent 779bab0344
commit 8cabae1d46
3 changed files with 8 additions and 2 deletions

View File

@@ -78,7 +78,7 @@ public class UnitFactory extends UnitBlock{
Core.bundle.format("bar.unitcap",
Fonts.getUnicodeStr(e.unit().name),
e.team.data().countType(e.unit()),
Units.getCap(e.team)
Units.getStringCap(e.team)
),
() -> Pal.power,
() -> e.unit() == null ? 0f : (float)e.team.data().countType(e.unit()) / Units.getCap(e.team)