1
0
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:
BuildTools
2021-08-28 22:03:45 +03:00
parent f9322d0a5c
commit eb2b81612c

View File

@@ -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;
} }
} }