mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-25 16:54:22 +00:00
Fix local profile cache. (#327)
This commit is contained in:
1 parent
5764d81d6d
commit
2f26a07dc9
4 files changed
+7
-5
No files matched your search
@@ -180,7 +180,7 @@ public class CustomSkinLoader {
|
||||
|
||||
if (config.enableLocalProfileCache) {
|
||||
UserProfile profile = profileCache.getLocalProfile(credential);
|
||||
if (profile == null) {
|
||||
if (profile == null || profile.equals(UserProfile.NULL)) {
|
||||
logger.info(username + "'s LocalProfile not found.");
|
||||
} else {
|
||||
profileCache.updateCache(credential, profile, false);
|
||||
|
||||
Reference in new issue
Block a user