mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-22 23:10:52 +01:00
Merge branch 'dev' into 'dev'
Fixed issue caused by Mod Tools Disconnect Fix. See merge request morningstar/Arcturus-Community!261
This commit is contained in:
commit
cfcc2d0f7c
@ -394,7 +394,7 @@ public class RoomManager {
|
|||||||
public void clearInactiveRooms() {
|
public void clearInactiveRooms() {
|
||||||
THashSet<Room> roomsToDispose = new THashSet<>();
|
THashSet<Room> roomsToDispose = new THashSet<>();
|
||||||
for (Room room : this.activeRooms.values()) {
|
for (Room room : this.activeRooms.values()) {
|
||||||
if (!room.isPublicRoom() && !room.isStaffPromotedRoom() && !Emulator.getGameServer().getGameClientManager().containsHabbo(room.getOwnerId()) && room.isPreLoaded() && !this.roomCategories.get(room.getCategory()).isPublic()) {
|
if (!room.isPublicRoom() && !room.isStaffPromotedRoom() && !Emulator.getGameServer().getGameClientManager().containsHabbo(room.getOwnerId()) && room.isPreLoaded()) {
|
||||||
roomsToDispose.add(room);
|
roomsToDispose.add(room);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user