From 8a2b69fbd31e6a5e1f17ac782f8d465077ef84bf Mon Sep 17 00:00:00 2001 From: Yordi Date: Thu, 17 Oct 2024 20:38:57 +0000 Subject: [PATCH] Fix for sending data to a user that is null #1807 --- src/main/java/com/eu/habbo/habbohotel/rooms/Room.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/eu/habbo/habbohotel/rooms/Room.java b/src/main/java/com/eu/habbo/habbohotel/rooms/Room.java index 63f2794c..e56ebeac 100644 --- a/src/main/java/com/eu/habbo/habbohotel/rooms/Room.java +++ b/src/main/java/com/eu/habbo/habbohotel/rooms/Room.java @@ -3939,6 +3939,7 @@ public class Room implements Comparable, ISerialize, Runnable { } for (Habbo habbo : this.getHabbos()) { + if (habbo == null) { continue; } if (!habbo.getHabboStats().ignoreBots) habbo.getClient().sendResponse(message); }