correctly remove heartbeat on cleanup

This commit is contained in:
mohammed jasem alaajel 2024-04-15 05:23:38 +04:00
parent 51719f13e2
commit ab441503c7
1 changed files with 1 additions and 0 deletions

View File

@ -280,6 +280,7 @@ public abstract class ProxyDataManager implements Runnable {
return;
}
for (UUID uuid : getProxyMembers(id)) plugin.fireEvent(plugin.createPlayerLeftNetworkEvent(uuid));
this.heartbeats.remove(id);
plugin.logInfo("Proxy {} has disconnected", id);
}