This commit is contained in:
AlfreviD 2022-04-10 18:27:05 +00:00
parent 5caf43ce1f
commit fa266af82d

View File

@ -1312,7 +1312,7 @@ public class RoomManager {
if (friend == null || friend.getHabboInfo() == null) continue;
Room room = friend.getHabboInfo().getCurrentRoom();
if (room != null && !rooms.contains(room)) rooms.add(room);
if (room != null && !rooms.contains(room) && room.hasRights(habbo)) rooms.add(room);
if (rooms.size() >= limit) break;
}