Skip to content

Commit 33e9bab

Browse files
authored
Merge pull request #1 from rtm516/patch-2
Fix blank login causing error
2 parents 1a06fe3 + dc59be3 commit 33e9bab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

connector/src/main/java/org/geysermc/connector/network/session/GeyserSession.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ public void packetReceived(PacketReceivedEvent event) {
300300

301301
downstream.getSession().connect();
302302
connector.addPlayer(this);
303-
} catch (InvalidCredentialsException e) {
303+
} catch (InvalidCredentialsException | IllegalArgumentException e) {
304304
connector.getLogger().info("User '" + username + "' entered invalid login info, kicking.");
305305
disconnect("Invalid/incorrect login info");
306306
} catch (RequestException ex) {

0 commit comments

Comments
 (0)