skill calculator: Fix grammar 0-action selections (#13995)

This commit is contained in:
neatclient12345
2021-09-29 02:43:31 +00:00
committed by GitHub
parent ac8f778307
commit 546cd6daf8
@@ -365,7 +365,7 @@ class SkillCalculator extends JPanel
private static String formatXPActionString(double xp, int actionCount, String expExpression)
{
return XP_FORMAT.format(xp) + expExpression + NumberFormat.getIntegerInstance().format(actionCount) + (actionCount > 1 ? " actions" : " action");
return XP_FORMAT.format(xp) + expExpression + NumberFormat.getIntegerInstance().format(actionCount) + (actionCount == 1 ? " action" : " actions");
}
private void updateInputFields()