mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Print throwable for disconnection if present
This commit is contained in:
parent
f920013d2b
commit
b15d37a4c5
1 changed files with 3 additions and 0 deletions
|
@ -274,6 +274,9 @@ public class GeyserSession implements CommandSender {
|
|||
loggingIn = false;
|
||||
loggedIn = false;
|
||||
connector.getLogger().info(authData.getName() + " has disconnected from remote java server on address " + remoteServer.getAddress() + " because of " + event.getReason());
|
||||
if (event.getCause() != null) {
|
||||
event.getCause().printStackTrace();
|
||||
}
|
||||
upstream.disconnect(event.getReason());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue