summaryrefslogtreecommitdiffstats
path: root/Essentials
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2011-07-18 05:45:05 +0200
committersnowleo <schneeleo@gmail.com>2011-07-18 05:45:05 +0200
commitfd1256b449e36c66c40b895344584050502a5fd4 (patch)
treed42aeb9381607e355cf85d11fe0292c1bbe3dff7 /Essentials
parentc1c300545402b4eb1de989a6307c5f41891fd4a3 (diff)
downloadEssentials-fd1256b449e36c66c40b895344584050502a5fd4.tar
Essentials-fd1256b449e36c66c40b895344584050502a5fd4.tar.gz
Essentials-fd1256b449e36c66c40b895344584050502a5fd4.tar.lz
Essentials-fd1256b449e36c66c40b895344584050502a5fd4.tar.xz
Essentials-fd1256b449e36c66c40b895344584050502a5fd4.zip
Only show hidden player count, if it's more than 0
Diffstat (limited to 'Essentials')
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandlist.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandlist.java b/Essentials/src/com/earth2me/essentials/commands/Commandlist.java
index 445db4597..29afb7b71 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandlist.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandlist.java
@@ -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);
}