mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-22 23:10:52 +01:00
Fix
This commit is contained in:
parent
db25a6d8ee
commit
968e980129
@ -1176,14 +1176,10 @@ public class RoomManager {
|
||||
continue;
|
||||
|
||||
Habbo friend = Emulator.getGameEnvironment().getHabboManager().getHabbo(buddy.getId());
|
||||
if (friend == null)
|
||||
if (friend == null || friend.getHabboInfo().getCurrentRoom() == null)
|
||||
continue;
|
||||
|
||||
Room friendRoom = friend.getHabboInfo().getCurrentRoom();
|
||||
if (friendRoom == null || rooms.contains(friendRoom))
|
||||
continue;
|
||||
|
||||
rooms.add(friendRoom);
|
||||
rooms.add(friend.getHabboInfo().getCurrentRoom());
|
||||
}
|
||||
|
||||
Collections.sort(rooms);
|
||||
|
Loading…
Reference in New Issue
Block a user