mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-12 04:20:41 +00:00
Only show hidden player count, if it's more than 0
This commit is contained in:
parent
c1c3005454
commit
fd1256b449
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ public class Commandlist extends EssentialsCommand
|
|||
charge(sender);
|
||||
StringBuilder online = new StringBuilder();
|
||||
online.append(ChatColor.BLUE).append("There are ").append(ChatColor.RED).append(server.getOnlinePlayers().length - playerHidden);
|
||||
if (showhidden)
|
||||
if (showhidden && playerHidden > 0)
|
||||
{
|
||||
online.append(ChatColor.GRAY).append("/").append(playerHidden);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue