Message to the player when the mobile phone connection is terminated

master
Alex 2022-03-13 21:14:26 +01:00
parent 292e46875b
commit 33c3fbc185
1 changed files with 3 additions and 1 deletions

View File

@ -161,8 +161,10 @@ public class SocketClientMessageListener implements KraSocketClientEventInterfac
+ " cmdIDByBackend:"
+ kraProtocolMessage.getCmdID());
}
case 64247: // mobile connection lost
case 64247: // mobile connection closed
ProxyServer.getInstance().getScheduler().runAsync(ProxySystem.getInstance(), () -> {
ProxyServer.getInstance().getLogger()
.info("mobile connection closed " + kraProtocolMessage.getUuid());
ProxiedPlayer proxiedPlayer = ProxySystem.getInstance().getProxy()
.getPlayer(kraProtocolMessage.getUuid());