aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/commands/LobbySkillsCommand.java
diff options
context:
space:
mode:
authorbowser0000 <bowser0000@gmail.com>2020-10-02 16:27:23 -0400
committerbowser0000 <bowser0000@gmail.com>2020-10-02 16:27:23 -0400
commit5dcce09ab839b00a3dd2e1db114f12856f08ae66 (patch)
tree218d11253f3c8131fe91566d0044eadfb3c0e235 /src/main/java/me/Danker/commands/LobbySkillsCommand.java
parent06a4cd2bd1e939c591e0ee781ed0cc937f1523c5 (diff)
downloadSkyblockMod-5dcce09ab839b00a3dd2e1db114f12856f08ae66.tar.gz
SkyblockMod-5dcce09ab839b00a3dd2e1db114f12856f08ae66.tar.bz2
SkyblockMod-5dcce09ab839b00a3dd2e1db114f12856f08ae66.zip
Optimize new tab /lobbyskills
Diffstat (limited to 'src/main/java/me/Danker/commands/LobbySkillsCommand.java')
-rw-r--r--src/main/java/me/Danker/commands/LobbySkillsCommand.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/me/Danker/commands/LobbySkillsCommand.java b/src/main/java/me/Danker/commands/LobbySkillsCommand.java
index 7e6387b..9eb01a3 100644
--- a/src/main/java/me/Danker/commands/LobbySkillsCommand.java
+++ b/src/main/java/me/Danker/commands/LobbySkillsCommand.java
@@ -65,6 +65,7 @@ public class LobbySkillsCommand extends CommandBase {
// Send request every .6 seconds, leaving room for another 20 requests per minute
for (final NetworkPlayerInfo player : players) {
+ if (player.getGameProfile().getName().startsWith("!")) continue;
// Manually get latest profile to use reduced requests on extra achievement API
String UUID = player.getGameProfile().getId().toString().replaceAll("-", "");
long biggestLastSave = 0;