Update fake player methods
This commit is contained in:
1 parent
a811a741f5
commit
8d1021e44c
4 files changed
+46
-13
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user