From 654037c8e14cdb924c84ee38c046b66d2cf3d3ac Mon Sep 17 00:00:00 2001 From: Liam Date: Thu, 11 Apr 2024 07:15:12 +0100 Subject: [PATCH] lower size limit --- src/main/java/cc.fascinated/service/PlayerService.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/cc.fascinated/service/PlayerService.java b/src/main/java/cc.fascinated/service/PlayerService.java index 7db22cc..9ecc878 100644 --- a/src/main/java/cc.fascinated/service/PlayerService.java +++ b/src/main/java/cc.fascinated/service/PlayerService.java @@ -124,9 +124,9 @@ public class PlayerService { * @return the skin part */ public CachedPlayerSkinPart getSkinPart(Player player, Skin.Parts part, boolean renderOverlay, int size) { - if (size > 1024) { - log.info("Size {} is too large, setting to 1024", size); - size = 1024; + if (size > 512) { + log.info("Size {} is too large, setting to 512", size); + size = 512; } log.info("Getting skin part {} for player: {}", part.getName(), player.getUniqueId()); String key = "%s-%s-%s".formatted(player.getUniqueId(), part.getName(), size);