mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
Fixed up logger, added needed overlays
This commit is contained in:
1 parent
9a16625585
commit
b365494f2e
46 files changed
+108
-95
No files matched your search
@@ -89,13 +89,13 @@ public class ThreadClientUpdate extends Thread
|
||||
|
||||
hasUpdated = true;
|
||||
GuiCredits.updateInfo("Update installed, reboot Minecraft for changes.");
|
||||
System.out.println("[Mekanism] Successfully updated to latest version (" + Mekanism.latestVersionNumber + ").");
|
||||
Mekanism.logger.info("Successfully updated to latest version (" + Mekanism.latestVersionNumber + ").");
|
||||
|
||||
finalize();
|
||||
} catch(Throwable t) {
|
||||
GuiCredits.updateInfo(EnumColor.DARK_RED + "Error updating.");
|
||||
hasUpdated = true;
|
||||
System.err.println("[Mekanism] Error while finishing update thread: " + t.getMessage());
|
||||
Mekanism.logger.error("Error while finishing update thread: " + t.getMessage());
|
||||
t.printStackTrace();
|
||||
}
|
||||
}
|
||||
@@ -196,7 +196,7 @@ public class ThreadClientUpdate extends Thread
|
||||
}
|
||||
}
|
||||
|
||||
System.out.println("[Mekanism] Preparing to update...");
|
||||
Mekanism.logger.info("Preparing to update...");
|
||||
}
|
||||
|
||||
private static URL createURL()
|
||||
|
||||
Reference in new issue
Block a user