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