mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 03:39:17 +00:00
I'm an idiot, ok, this one ought to.
This commit is contained in:
1 parent
199ddef686
commit
81fc212ac1
1 file changed
+1
-2
@@ -58,10 +58,9 @@ public class ThreadDownloadMod extends Thread {
|
||||
URL url = new URL(base + "dl.php?file=" + file);
|
||||
|
||||
try {
|
||||
url.openStream(); // Add to DL Counter
|
||||
url.openStream().close();; // Add to DL Counter
|
||||
} catch(IOException e) { }
|
||||
|
||||
sleep(2000);
|
||||
url = new URL(base + "files/" + file);
|
||||
webReader = url.openStream();
|
||||
|
||||
|
||||
Reference in new issue
Block a user