Do not broadcast char info when client is disconnected.

This commit is contained in:
MobiusDevelopment
2022-10-11 22:51:29 +00:00
parent 0d1f12fe71
commit 6358fde885
29 changed files with 174 additions and 0 deletions

View File

@ -4739,6 +4739,12 @@ public class Player extends Playable
public void broadcastCharInfo()
{
// Client is disconnected.
if (isOnlineInt() == 0)
{
return;
}
final CharInfo charInfo = new CharInfo(this, false);
for (Player player : getKnownList().getKnownPlayers().values())
{