Fixed up logger, added needed overlays

This commit is contained in:
Aidan C. Brady committed 2014-06-03 08:46:03 +02:00
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()