mirror of
https://github.com/Suiranoil/SkinRestorer.git
synced 2026-01-16 04:42:12 +00:00
fixes "invalid player data" exception
This commit is contained in:
@@ -21,7 +21,7 @@ public class MojangSkinProvider {
|
|||||||
.getAsJsonArray("properties").get(0).getAsJsonObject();
|
.getAsJsonArray("properties").get(0).getAsJsonObject();
|
||||||
|
|
||||||
return new Property("textures", texture.get("value").getAsString(), texture.get("signature").getAsString());
|
return new Property("textures", texture.get("value").getAsString(), texture.get("signature").getAsString());
|
||||||
} catch (IOException e) {
|
} catch (Exception e) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user