aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/utils/Utils.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/me/Danker/utils/Utils.java')
-rw-r--r--src/main/java/me/Danker/utils/Utils.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/me/Danker/utils/Utils.java b/src/main/java/me/Danker/utils/Utils.java
index d872aa2..ae9f08b 100644
--- a/src/main/java/me/Danker/utils/Utils.java
+++ b/src/main/java/me/Danker/utils/Utils.java
@@ -69,6 +69,7 @@ public class Utils {
for (NetworkPlayerInfo player : players) {
String playerName = player.getGameProfile().getName();
+ if (playerName.startsWith("!")) continue; // New tablist
if (playerName.toLowerCase().startsWith(arg.toLowerCase())) {
matchingPlayers.add(playerName);
}