mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-26 16:30:52 +01:00
Merge branch 'fix-issue-956' into 'dev'
Fix issue #956 See merge request morningstar/Arcturus-Community!415
This commit is contained in:
commit
113103492e
@ -1176,7 +1176,6 @@ public class RoomManager {
|
||||
continue;
|
||||
|
||||
Habbo friend = Emulator.getGameEnvironment().getHabboManager().getHabbo(buddy.getId());
|
||||
|
||||
if (friend == null || friend.getHabboInfo().getCurrentRoom() == null)
|
||||
continue;
|
||||
|
||||
@ -1313,7 +1312,7 @@ public class RoomManager {
|
||||
if (friend == null || friend.getHabboInfo() == null) continue;
|
||||
|
||||
Room room = friend.getHabboInfo().getCurrentRoom();
|
||||
if (room != null) rooms.add(room);
|
||||
if (room != null && !rooms.contains(room)) rooms.add(room);
|
||||
|
||||
if (rooms.size() >= limit) break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user