aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/utils
diff options
context:
space:
mode:
authorbowser0000 <bowser0000@gmail.com>2020-09-28 15:12:35 -0400
committerbowser0000 <bowser0000@gmail.com>2020-09-28 15:12:35 -0400
commit8aedd48bc175afbef395fcb735c352dffc0b6634 (patch)
tree6f33f7ef1de6f892e4e1c55a18fa5f968e2a96f7 /src/main/java/me/Danker/utils
parent3629f2f90c24a76c3568cb63d4d03623ce1d54c7 (diff)
downloadSkyblockMod-8aedd48bc175afbef395fcb735c352dffc0b6634.tar.gz
SkyblockMod-8aedd48bc175afbef395fcb735c352dffc0b6634.tar.bz2
SkyblockMod-8aedd48bc175afbef395fcb735c352dffc0b6634.zip
Fix tab complete for new tab list
Diffstat (limited to 'src/main/java/me/Danker/utils')
-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);
}