mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI.git
synced 2024-11-29 14:06:33 +01:00
Make the message differentiate between singular and plural updates avail
This commit is contained in:
parent
0f8ce0c6c3
commit
97fd3a3b5d
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user