Skip to content

Commit 4185e5b

Browse files
authored
Fix #286 (#287)
1 parent 7fd5ff8 commit 4185e5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Common/src/main/java/customskinloader/CustomSkinLoader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public static UserProfile loadProfile(GameProfile gameProfile) {
113113
profileCache.setLoading(credential, true);
114114
profile = loadProfile0(gameProfile, false);
115115
}
116-
return profile;
116+
return profile == null ? new UserProfile() : profile;
117117
}
118118

119119
//Core

0 commit comments

Comments
 (0)