Skip to content

Commit

Permalink
Disable another debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
TechnicJelle committed Feb 17, 2024
1 parent 1f511d6 commit d91e33e
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,8 @@ default void shutDown() {
*/
static String nameFromMojangAPI(UUID playerUUID) throws IOException {
String name = _cachedPlayerNames.get(playerUUID);
if (name != null) {
Singletons.getLogger().info("Requested player name from Mojang API, but returning from cache instead for " + playerUUID);
return name;
}
Singletons.getLogger().info("Requesting player name from Mojang API for " + playerUUID);
if (name != null) return name;

URL url = new URL("https://sessionserver.mojang.com/session/minecraft/profile/" + playerUUID);
URLConnection request = url.openConnection();
request.connect();
Expand Down

0 comments on commit d91e33e

Please sign in to comment.