mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-01-18 15:36:27 +01:00
Merge branch 'improvement/fix-bot-sending-data-to-null-habbo' into 'dev'
Fix for sending data to a user that is null #1807 See merge request morningstar/Arcturus-Community!95
This commit is contained in:
commit
4ca41a9fd7
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user