Fix: RMIHeartbeat
This commit is contained in:
@@ -94,10 +94,8 @@ public class RMIHeartbeat {
|
||||
running = false;
|
||||
watchdog.shutdownNow();
|
||||
|
||||
// Mark player as offline
|
||||
playerList.put(username, false);
|
||||
|
||||
// Remove RMI callback so notifyAll skips this client
|
||||
clients.remove(username);
|
||||
actionQueue.add(new DisconnectedPlayer(username));
|
||||
System.out.println("RMI disconnected: " + username);
|
||||
|
||||
Reference in New Issue
Block a user