diff --git a/sigIRCv2.jar b/sigIRCv2.jar index c48502d..3321867 100644 Binary files a/sigIRCv2.jar and b/sigIRCv2.jar differ diff --git a/src/sig/sigIRC.java b/src/sig/sigIRC.java index 06b0c46..d5d58b0 100644 --- a/src/sig/sigIRC.java +++ b/src/sig/sigIRC.java @@ -332,7 +332,6 @@ public class sigIRC{ Thread downloadThread = new Thread(){ public void run() { JSONObject subemotes = null; - JSONObject subemotes2 = null; try { File filer = new File(SUBEMOTELISTFILE); if (!filer.exists()) { @@ -345,7 +344,17 @@ public class sigIRC{ } else { System.out.println("Local copy of Sub emote JSON out-of-date! Re-downloading in background..."); subemotes = FileUtils.readJsonFromFile(SUBEMOTELISTFILE); - subemotes2 = FileUtils.readJsonFromUrl("https://twitchemotes.com/api_cache/v3/subscriber.json",SUBEMOTELISTFILE,true); + new Thread(){ + public void run() { + try { + FileUtils.readJsonFromUrl("https://twitchemotes.com/api_cache/v3/subscriber.json",SUBEMOTELISTFILE,true); + } catch (JSONException e) { + e.printStackTrace(); + } catch (IOException e) { + e.printStackTrace(); + } + } + }.start(); } } } catch (JSONException | IOException e) {