fancynpcs: Fix NPE with skin manager and uuid fetcher

This commit is contained in:
Oliver
2025-06-03 11:29:54 +02:00
parent 689423dc85
commit 2ec0c1d325
2 changed files with 3 additions and 3 deletions

View File

@@ -1 +1 @@
2.5.1.266
2.5.1.267

View File

@@ -158,9 +158,9 @@ public class SkinManagerImpl implements SkinManager, Listener {
String id = skin.getParsedIdentifier();
if (SkinUtils.isUsername(id)) {
String uuid = UUIDFetcher.getUUID(id).toString();
UUID uuid = UUIDFetcher.getUUID(id);
if (uuid != null) {
id = uuid;
id = uuid.toString();
}
}
if (id.equals(event.getId())) {