Authkey is now stored in .config file to allow automatic logging in

This commit is contained in:
CrushedPixel
2015-05-05 22:56:25 +02:00
parent f49a180b3e
commit ccaa93116d
7 changed files with 56 additions and 5 deletions

View File

@@ -65,8 +65,10 @@ public class GuiEventHandler {
if(event.gui instanceof GuiMainMenu) {
if(ReplayMod.firstMainMenu) {
ReplayMod.firstMainMenu = false;
event.gui = new GuiLoginPrompt(event.gui, event.gui);
return;
if(!AuthenticationHandler.isAuthenticated()) {
event.gui = new GuiLoginPrompt(event.gui, event.gui);
return;
}
} else {
try {
MCTimerHandler.setTimerSpeed(1);