From 5dcce09ab839b00a3dd2e1db114f12856f08ae66 Mon Sep 17 00:00:00 2001 From: bowser0000 Date: Fri, 2 Oct 2020 16:27:23 -0400 Subject: Optimize new tab /lobbyskills --- src/main/java/me/Danker/commands/LobbySkillsCommand.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/java/me') 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; -- cgit