cache the skin image
All checks were successful
deploy / deploy (push) Successful in 42s

This commit is contained in:
Lee
2024-04-08 06:36:35 +01:00
parent e90f409ce9
commit d3adb6815d
2 changed files with 9 additions and 1 deletions

View File

@ -46,7 +46,7 @@ public class PlayerUtils {
}
try {
BufferedImage image = ImageIO.read(new ByteArrayInputStream(PlayerUtils.getSkinData(skin.getUrl())));
BufferedImage image = ImageIO.read(new ByteArrayInputStream(skin.getSkinData()));
if (image == null) {
return null;
}