mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-30 01:50:50 +01:00
Merge branch 'dev' into 'dev'
Fix Issue #824 See merge request morningstar/Arcturus-Community!530
This commit is contained in:
commit
60ecf6226f
@ -1323,7 +1323,7 @@ public class RoomManager {
|
|||||||
if (friend == null || friend.getHabboInfo() == null) continue;
|
if (friend == null || friend.getHabboInfo() == null) continue;
|
||||||
|
|
||||||
Room room = friend.getHabboInfo().getCurrentRoom();
|
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;
|
if (rooms.size() >= limit) break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user