Fix missing resource packs if URL contains redirect (e.g. Hypixel)

This commit is contained in:
johni0702
2015-05-29 12:17:10 +02:00
parent 37d31408bd
commit 117f3e726d

View File

@@ -73,7 +73,6 @@ public class SimpleApiClient {
String responseContent = null; String responseContent = null;
InputStream is = null; InputStream is = null;
HttpURLConnection httpUrlConnection = null; HttpURLConnection httpUrlConnection = null;
HttpURLConnection.setFollowRedirects(false);
try { try {
URL url = new URL(urlString); URL url = new URL(urlString);
httpUrlConnection = (HttpURLConnection) url.openConnection(); httpUrlConnection = (HttpURLConnection) url.openConnection();