auto restart system

master
Alex 2021-12-27 23:56:52 +01:00
parent 4f7d8ad6a6
commit 3deca3a8bf
1 changed files with 2 additions and 0 deletions

View File

@ -118,6 +118,8 @@ public class SocketClientMessageListener implements KraSocketClientEventInterfac
if (serviceInfoSnapshots != null) { if (serviceInfoSnapshots != null) {
serviceInfoSnapshots.forEach(serviceInfoSnapshot -> { serviceInfoSnapshots.forEach(serviceInfoSnapshot -> {
System.out.println("containsKey" + playersAutoRestartServerSystem.containsKey(
serviceInfoSnapshot.getName()));
if (!playersAutoRestartServerSystem.containsKey(serviceInfoSnapshot.getName())) { if (!playersAutoRestartServerSystem.containsKey(serviceInfoSnapshot.getName())) {
serviceInfoSnapshot.provider().stop(); serviceInfoSnapshot.provider().stop();
} }