mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-12 10:47:37 +00:00
Fixed crash when skull texture not found [1.7.10]
This commit is contained in:
1 parent
0857a80ca8
commit
a38aa9687c
1 file changed
+2
@@ -55,6 +55,8 @@ public class ModelManager0 {
|
||||
*/
|
||||
public static Map fromUserProfile(UserProfile profile){
|
||||
Map map=Maps.newHashMap();
|
||||
if(profile==null)
|
||||
return map;
|
||||
if(profile.skinUrl!=null)
|
||||
map.put(Type.SKIN, getProfileTexture(profile.skinUrl));
|
||||
if(profile.capeUrl!=null)
|
||||
|
||||
Reference in new issue
Block a user