mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-27 08:50:51 +01:00
Merge branch 'fix-sending-message-to-null-user' into 'ms4/dev'
Fix for function sending data to a user that has left #1807 See merge request morningstar/Arcturus-Community!46
This commit is contained in:
commit
8a81449978
@ -3318,6 +3318,7 @@ public class Room implements Comparable<Room>, ISerialize, Runnable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (Habbo habbo : this.getHabbos()) {
|
for (Habbo habbo : this.getHabbos()) {
|
||||||
|
if (habbo == null) { return ; }
|
||||||
if (!habbo.getHabboStats().isIgnoreBots())
|
if (!habbo.getHabboStats().isIgnoreBots())
|
||||||
habbo.getClient().sendResponse(message);
|
habbo.getClient().sendResponse(message);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user