Support 1.21.6. (#341)

This commit is contained in:
ZekerZhayard authored and GitHub committed 2025-06-21 21:54:07 +08:00
1 parent a195b42bc4
commit 1a15951791
15 files changed
+95 -27

No files matched your search

@@ -136,7 +136,7 @@ public class DynamicSkullManager {
if (staticTextures.get(profile) != null)
return staticTextures.get(profile);
if (loadingList.contains(profile))
return Maps.newHashMap();
return CustomSkinLoader.INCOMPLETED;
if (dynamicTextures.containsKey(profile)) {
SkullTexture texture = dynamicTextures.get(profile);
long time = System.currentTimeMillis() - texture.startTime;
@@ -153,6 +153,6 @@ public class DynamicSkullManager {
});
loadThread.setName("Skull " + profile.hashCode());
loadThread.start();
return Maps.newHashMap();
return CustomSkinLoader.INCOMPLETED;
}
}