Update fake player methods

This commit is contained in:
games647
2016-06-29 19:04:12 +02:00
parent a811a741f5
commit 8d1021e44c
4 changed files with 46 additions and 13 deletions
@@ -112,6 +112,7 @@ public abstract class MojangApiConnector {
try {
HttpURLConnection httpConnection = (HttpURLConnection) new URL(MCAPI_UUID_URL + playerName).openConnection();
httpConnection.addRequestProperty("Content-Type", "application/json");
httpConnection.setRequestProperty("User-Agent", USER_AGENT);
if (httpConnection.getResponseCode() == HttpURLConnection.HTTP_NOT_FOUND) {
//cracked