Skip to content

Commit

Permalink
Display the mod being mounted
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasluqui committed Feb 15, 2020
1 parent 78152d7 commit db84521
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/xyz/lucasallegri/launcher/mods/ModLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public static void mount() {
ProgressBar.setBarValue(i + 1);
try {
KnightLog.log.info("Mounting mod: " + ModList.installedMods.get(i).getDisplayName());
ProgressBar.setState("Mounting mods... (" + ModList.installedMods.get(i).getDisplayName() + ")");
FileUtil.unzip("mods/" + ModList.installedMods.get(i).getFileName(), "rsrc/");
KnightLog.log.info(ModList.installedMods.get(i).getDisplayName() + " was mounted successfully.");
} catch (IOException e) {
Expand Down

0 comments on commit db84521

Please sign in to comment.