Make the message differentiate between singular and plural updates avail

This commit is contained in:
extendedclip 2020-07-31 21:30:00 -04:00
parent 0f8ce0c6c3
commit 97fd3a3b5d
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ public final class CommandECloudStatus extends PlaceholderCommand
if (updateCount > 0)
{
builder.append("&eYou have &a").append(updateCount).append("&e expansions installed that have updates available.");
builder.append("&eYou have &f").append(updateCount).append(updateCount > 1 ? "&e expansions" : "&e expansion").append("installed that ").append(updateCount > 1 ? "have an" : "has an").append(" update available.");
}
Msg.msg(sender,builder.toString());