mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-26 16:30:52 +01:00
Fixed staff picks error
This commit is contained in:
parent
b6f3214cc8
commit
50f0dc7fb8
@ -91,7 +91,8 @@ public class RequestNewNavigatorRoomsEvent extends MessageHandler {
|
|||||||
List<SearchResultList> resultLists2 = filter.getResult(this.client.getHabbo(), field, part, category != null ? category.getId() : -1);
|
List<SearchResultList> resultLists2 = filter.getResult(this.client.getHabbo(), field, part, category != null ? category.getId() : -1);
|
||||||
List<SearchResultList> resultLists = new ArrayList<>();
|
List<SearchResultList> resultLists = new ArrayList<>();
|
||||||
for(SearchResultList searchResultList : resultLists2) {
|
for(SearchResultList searchResultList : resultLists2) {
|
||||||
List<Room> rooms = (ArrayList)((ArrayList)searchResultList.rooms).clone();
|
List<Room> 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));
|
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);
|
filter.filter(field.field, part, resultLists);
|
||||||
|
Loading…
Reference in New Issue
Block a user