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