From 5157e12d2793a27543816a454fe3b3adada194a5 Mon Sep 17 00:00:00 2001 From: Swirny <140-Swirny@users.noreply.git.krews.org> Date: Fri, 29 May 2020 19:43:30 -0400 Subject: [PATCH] Resolve "Public Room Sorting" --- sqlupdates/2_4_0 RC-1 to 2_4_0 RC-2.sql | 0 src/main/java/com/eu/habbo/habbohotel/rooms/RoomManager.java | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 sqlupdates/2_4_0 RC-1 to 2_4_0 RC-2.sql diff --git a/sqlupdates/2_4_0 RC-1 to 2_4_0 RC-2.sql b/sqlupdates/2_4_0 RC-1 to 2_4_0 RC-2.sql new file mode 100644 index 00000000..e69de29b diff --git a/src/main/java/com/eu/habbo/habbohotel/rooms/RoomManager.java b/src/main/java/com/eu/habbo/habbohotel/rooms/RoomManager.java index 75249798..59dc8999 100644 --- a/src/main/java/com/eu/habbo/habbohotel/rooms/RoomManager.java +++ b/src/main/java/com/eu/habbo/habbohotel/rooms/RoomManager.java @@ -992,7 +992,7 @@ public class RoomManager { rooms.add(room); } } - + rooms.sort(Room.SORT_ID); return rooms; }