diff --git a/src/main/java/com/eu/habbo/messages/incoming/navigator/RequestNewNavigatorRoomsEvent.java b/src/main/java/com/eu/habbo/messages/incoming/navigator/RequestNewNavigatorRoomsEvent.java index f02be39c..6c527b46 100644 --- a/src/main/java/com/eu/habbo/messages/incoming/navigator/RequestNewNavigatorRoomsEvent.java +++ b/src/main/java/com/eu/habbo/messages/incoming/navigator/RequestNewNavigatorRoomsEvent.java @@ -91,7 +91,8 @@ public class RequestNewNavigatorRoomsEvent extends MessageHandler { List resultLists2 = filter.getResult(this.client.getHabbo(), field, part, category != null ? category.getId() : -1); List resultLists = new ArrayList<>(); for(SearchResultList searchResultList : resultLists2) { - List rooms = (ArrayList)((ArrayList)searchResultList.rooms).clone(); + List rooms = new ArrayList<>(); + rooms.addAll(searchResultList.rooms); resultLists.add(new SearchResultList(searchResultList.order, searchResultList.code, searchResultList.query, searchResultList.action, searchResultList.mode, searchResultList.hidden, rooms, searchResultList.filter, searchResultList.showInvisible, searchResultList.displayOrder, searchResultList.categoryOrder)); } filter.filter(field.field, part, resultLists);