From 97fd3a3b5ddefa69ff5ce2fddd35f707ef0eadec Mon Sep 17 00:00:00 2001 From: extendedclip Date: Fri, 31 Jul 2020 21:30:00 -0400 Subject: [PATCH] Make the message differentiate between singular and plural updates avail --- .../placeholderapi/commands/impl/cloud/CommandECloudStatus.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/clip/placeholderapi/commands/impl/cloud/CommandECloudStatus.java b/src/main/java/me/clip/placeholderapi/commands/impl/cloud/CommandECloudStatus.java index c1e3e66..bbbc921 100644 --- a/src/main/java/me/clip/placeholderapi/commands/impl/cloud/CommandECloudStatus.java +++ b/src/main/java/me/clip/placeholderapi/commands/impl/cloud/CommandECloudStatus.java @@ -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());