diff options
author | bowser0000 <bowser0000@gmail.com> | 2020-09-28 15:12:35 -0400 |
---|---|---|
committer | bowser0000 <bowser0000@gmail.com> | 2020-09-28 15:12:35 -0400 |
commit | 8aedd48bc175afbef395fcb735c352dffc0b6634 (patch) | |
tree | 6f33f7ef1de6f892e4e1c55a18fa5f968e2a96f7 /src/main/java/me/Danker | |
parent | 3629f2f90c24a76c3568cb63d4d03623ce1d54c7 (diff) | |
download | SkyblockMod-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')
-rw-r--r-- | src/main/java/me/Danker/utils/Utils.java | 1 |
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); } |