mirror of
https://github.com/TuxCoding/FastLogin.git
synced 2025-07-29 18:27:36 +02:00
I'm stupid (Related #27)
This commit is contained in:
@ -121,7 +121,7 @@ public abstract class MojangApiConnector {
|
||||
BufferedReader reader = new BufferedReader(new InputStreamReader(httpConnection.getInputStream()));
|
||||
String line = reader.readLine();
|
||||
if (line != null && !line.equals("null")) {
|
||||
return getUUIDFromJsonAPI(playerName);
|
||||
return getUUIDFromJsonAPI(line);
|
||||
}
|
||||
} catch (IOException iOException) {
|
||||
plugin.getLogger().log(Level.SEVERE, "Tried converting name->uuid from third-party api", iOException);
|
||||
|
Reference in New Issue
Block a user