From a8e6b158c3e43ec71d386a40264d4cf4c3cbb954 Mon Sep 17 00:00:00 2001 From: nickreesdev Date: Sat, 20 Feb 2021 21:05:28 -0600 Subject: [PATCH] Made it show "are" instead of "is" in the join MOTD if there is not one player online. --- .../main/java/zone/themcgamer/hub/listener/PlayerListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hub/src/main/java/zone/themcgamer/hub/listener/PlayerListener.java b/hub/src/main/java/zone/themcgamer/hub/listener/PlayerListener.java index add372c..9823fc7 100644 --- a/hub/src/main/java/zone/themcgamer/hub/listener/PlayerListener.java +++ b/hub/src/main/java/zone/themcgamer/hub/listener/PlayerListener.java @@ -99,7 +99,7 @@ public class PlayerListener implements Listener { for (int i = 0; i < 5; i++) player.sendMessage(""); player.sendMessage(Style.color(" Welcome &7" + optionalAccount.get().getDisplayName() + " &fto &2&lMc&6&lGamer&c&lZone")); - player.sendMessage(Style.color(" &fThere is &b" + online + " &fplayer" + (online == 1 ? "" : "s") + " online!")); + player.sendMessage(Style.color(" &fThere " + (online == 1 ? "is" : "are") + " &b" + online + " &fplayer" + (online == 1 ? "" : "s") + " online!")); player.sendMessage(""); List components = new ArrayList<>();