Compare commits
No commits in common. "32fe2ab5793f8358b9a4c71b180c0d11b234fc51" and "c4282817b0feb6a37d8599c6afaca439abd8e171" have entirely different histories.
32fe2ab579
...
c4282817b0
@ -5,6 +5,7 @@ import com.google.gson.JsonObject;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import org.bukkit.OfflinePlayer;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStreamReader;
|
||||
@ -12,7 +13,6 @@ import java.net.HttpURLConnection;
|
||||
import java.net.URL;
|
||||
import java.util.Date;
|
||||
import java.util.UUID;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
public class T2CnameHistory {
|
||||
public static class NameLookup {
|
||||
@ -93,7 +93,7 @@ public class T2CnameHistory {
|
||||
con.setReadTimeout(2000);
|
||||
con.connect();
|
||||
BufferedReader in = new BufferedReader(new InputStreamReader(con.getInputStream()));
|
||||
String response = in.lines().collect(Collectors.joining());
|
||||
String response = in.readLine();
|
||||
in.close();
|
||||
return response;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user