Merge remote-tracking branch 'origin/master'

This commit is contained in:
Anuken
2023-06-13 16:02:29 -04:00

View File

@@ -67,10 +67,10 @@ public class Reconstructor extends UnitBlock{
new Bar( new Bar(
() -> e.unit() == null ? "[lightgray]" + Iconc.cancel : () -> e.unit() == null ? "[lightgray]" + Iconc.cancel :
Core.bundle.format("bar.unitcap", Core.bundle.format("bar.unitcap",
Fonts.getUnicodeStr(e.unit().name), Fonts.getUnicodeStr(e.unit().name),
e.team.data().countType(e.unit()), e.team.data().countType(e.unit()),
Units.getCap(e.team) Units.getStringCap(e.team)
), ),
() -> Pal.power, () -> Pal.power,
() -> e.unit() == null ? 0f : (float)e.team.data().countType(e.unit()) / Units.getCap(e.team) () -> e.unit() == null ? 0f : (float)e.team.data().countType(e.unit()) / Units.getCap(e.team)
)); ));