File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/main/java/xyz/theprogramsrc/supercoreapi/spigot/utils/skintexture Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 66
77 <groupId >xyz.theprogramsrc</groupId >
88 <artifactId >SuperCoreAPI</artifactId >
9- <version >4.2.0-BETA2 </version >
9+ <version >4.2.0-BETA3 </version >
1010 <packaging >jar</packaging >
1111
1212 <name >SuperCoreAPI</name >
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ public static SkinTexture fromMojang(String playerName) {
6161 String response = Utils .readWithInputStream ("https://api.mojang.com/users/profiles/minecraft/" + playerName );
6262 if (response == null )
6363 return null ;
64- String uuid = (new JsonParser ()).parse (Utils . readWithInputStream ( response ) ).getAsJsonObject ().get ("id" ).getAsString ();
64+ String uuid = (new JsonParser ()).parse (response ).getAsJsonObject ().get ("id" ).getAsString ();
6565 String fullUUID = Utils .uuidToFullUUID (uuid );
6666 return fromMojang (UUID .fromString (fullUUID ));
6767 }
You can’t perform that action at this time.
0 commit comments