From ad6e70c4e498d4a21797f5ad1fb386bea6ea3d31 Mon Sep 17 00:00:00 2001 From: Alejandro <25-alejandro@users.noreply.git.krews.org> Date: Mon, 27 May 2019 23:49:01 +0300 Subject: [PATCH] Make popular groups show top hotel rooms --- .../incoming/navigator/RequestNewNavigatorRoomsEvent.java | 1 + 1 file changed, 1 insertion(+) 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 8db7fbe4..872db874 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 @@ -18,6 +18,7 @@ public class RequestNewNavigatorRoomsEvent extends MessageHandler { String query = this.packet.readString(); if (view.equals("query")) view = "hotel_view"; + if (view.equals("groups")) view = "hotel_view"; NavigatorFilter filter = Emulator.getGameEnvironment().getNavigatorManager().filters.get(view); RoomCategory category = Emulator.getGameEnvironment().getRoomManager().getCategoryBySafeCaption(view);