2
0
mirror of https://github.com/proxiodev/RedisBungee.git synced 2024-11-05 04:48:02 +00:00

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

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);
}