mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-26 08:20:51 +01:00
Fix Issue #824
This commit is contained in:
parent
5caf43ce1f
commit
fa266af82d
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user