3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-11-03 14:50:19 +01:00

Merge pull request #1 from rtm516/patch-2

Fix blank login causing error
Dieser Commit ist enthalten in:
ForceUpdate1 2020-04-17 15:51:02 +02:00 committet von GitHub
Commit 33e9bab9cb
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -300,7 +300,7 @@ public class GeyserSession implements CommandSender {
downstream.getSession().connect(); downstream.getSession().connect();
connector.addPlayer(this); connector.addPlayer(this);
} catch (InvalidCredentialsException e) { } catch (InvalidCredentialsException | IllegalArgumentException e) {
connector.getLogger().info("User '" + username + "' entered invalid login info, kicking."); connector.getLogger().info("User '" + username + "' entered invalid login info, kicking.");
disconnect("Invalid/incorrect login info"); disconnect("Invalid/incorrect login info");
} catch (RequestException ex) { } catch (RequestException ex) {