auto restart system

master
Alex 2021-12-27 23:32:55 +01:00
parent 6ca542642f
commit 6090cadb23
1 changed files with 1 additions and 0 deletions

View File

@ -117,6 +117,7 @@ public class SocketClientMessageListener implements KraSocketClientEventInterfac
if (serviceInfoSnapshots != null) {
serviceInfoSnapshots.forEach(serviceInfoSnapshot -> {
System.out.println("lobby " + serviceInfoSnapshot.getName());
if (!serverName.equals(serviceInfoSnapshot.getName())) {
serviceInfoSnapshot.provider().stop();
}