Fix for sending data to a user that is null #1807

This commit is contained in:
Yordi 2024-10-17 20:38:57 +00:00 committed by ArpyAge
parent 730db11ef4
commit 8a2b69fbd3

View File

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