Fix for function sending data to a user that has left #1807

This commit is contained in:
Yordi 2023-01-17 12:03:20 +01:00 committed by yordii
parent 0f3ca7807e
commit 02d373f836

View File

@ -3318,6 +3318,7 @@ public class Room implements Comparable<Room>, ISerialize, Runnable {
}
for (Habbo habbo : this.getHabbos()) {
if (habbo == null) { return ; }
if (!habbo.getHabboStats().isIgnoreBots())
habbo.getClient().sendResponse(message);
}