Commit 968e9801 authored by Snaiker's avatar Snaiker

Fix

parent db25a6d8
......@@ -1176,14 +1176,10 @@ public class RoomManager {
continue;
Habbo friend = Emulator.getGameEnvironment().getHabboManager().getHabbo(buddy.getId());
if (friend == null)
continue;
Room friendRoom = friend.getHabboInfo().getCurrentRoom();
if (friendRoom == null || rooms.contains(friendRoom))
if (friend == null || friend.getHabboInfo().getCurrentRoom() == null)
continue;
rooms.add(friendRoom);
rooms.add(friend.getHabboInfo().getCurrentRoom());
}
Collections.sort(rooms);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment