Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
Fix things I broke while fixing
Browse files Browse the repository at this point in the history
I swear it's ok this time
  • Loading branch information
Nincodedo committed Feb 29, 2016
1 parent 6df8523 commit a9a816c
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,9 @@ private static void downloadCurseMod(final CurseMod mod, final int downloadCount
new Thread(() -> {
String modName = mod.getModName();

log.info(String.format(Reference.DOWNLOADING_MOD_X_OF_Y, modName, DOWNLOAD_COUNT.incrementAndGet(), DOWNLOAD_TOTAL));
log.info(String.format(Reference.DOWNLOADING_MOD_X_OF_Y, modName, DOWNLOAD_COUNT.get(), DOWNLOAD_TOTAL));
downloadCurseForgeFile(mod);
DOWNLOAD_COUNT.incrementAndGet();
log.info(String.format("Finished downloading %s", modName));
}).start();
}
Expand All @@ -204,8 +205,9 @@ private static void downloadThirdPartyMod(final ThirdPartyMod mod, final int dow
new Thread(() -> {
String modName = mod.getModName();

log.info(String.format(Reference.DOWNLOADING_MOD_X_OF_Y, modName, DOWNLOAD_COUNT.incrementAndGet(), DOWNLOAD_TOTAL));
log.info(String.format(Reference.DOWNLOADING_MOD_X_OF_Y, modName, DOWNLOAD_COUNT.get(), DOWNLOAD_TOTAL));
downloadFile(mod, false);
DOWNLOAD_COUNT.incrementAndGet();
log.info(String.format("Finished downloading %s", modName));
}).start();
}
Expand Down

0 comments on commit a9a816c

Please sign in to comment.