Skip to content

Commit 1f9cdfa

Browse files
author
TheProgramSrc
committed
Changelog:
* Code Improvements * SkinTexture Fixes
1 parent 080c6e3 commit 1f9cdfa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
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>

src/main/java/xyz/theprogramsrc/supercoreapi/spigot/utils/skintexture/SkinTexture.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)