Skip to content

Commit c68d181

Browse files
committed
default check for login request
1 parent 685bc21 commit c68d181

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/main/java/lol/hyper/customlauncher/login/LoginHandler.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,11 @@ public static void handleLoginRequest(LoginRequest loginRequest) {
9696
queueLogin.dispose();
9797
break;
9898
}
99+
default: {
100+
Main.logger.error("Weird login response: " + status);
101+
Main.logger.error("Exiting!");
102+
System.exit(1);
103+
}
99104
}
100105
}
101106

0 commit comments

Comments
 (0)