mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-12-24 17:47:40 +01:00
Fix NullPointerException in SkinsRestorerSkinUrlProvider.getSkinUrl during joins player without skin
This commit is contained in:
parent
578c66e2fe
commit
1ffa0e24ff
@ -27,6 +27,10 @@ public class SkinsRestorerSkinUrlProvider implements SkinUrlProvider {
|
||||
String skinName = mSkinsRestorerApi.getSkinName(playerName);
|
||||
|
||||
Object skinDataProperty = mSkinsRestorerApi.getSkinData(skinName == null ? playerName : skinName);
|
||||
|
||||
if (skinDataProperty == null)
|
||||
return null;
|
||||
|
||||
String skinDataPropertyValue;
|
||||
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user