mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-21 09:12:19 +00:00
Tweak: LegacyLoader UUID fallback logic
This commit is contained in:
1 parent
52caeb3bdc
commit
51aec265be
2 files changed
+110
-78
No files matched your search
@@ -196,7 +196,7 @@ public class CustomSkinLoader {
|
||||
|
||||
//CustomSkinLoader needs username to load standard skin, if username not exist, only textures in NBT can be used
|
||||
//Authlib 3.11.50 makes empty username to "\u0020"
|
||||
if (username == null || username.equals("\u0020") || credential == null) {
|
||||
if (username == null || username.isEmpty() || username.equals("\u0020") || credential == null) {
|
||||
return dynamicSkullManager.getTexture(gameProfile);
|
||||
}
|
||||
if (config.forceUpdateSkull ? profileCache.isReady(credential) : profileCache.isExist(credential)) {
|
||||
|
||||
Reference in new issue
Block a user