mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-26 16:30:52 +01:00
Fixed issue caused by Mod Tools Disconnect Fix.
This commit is contained in:
parent
e7532b4d5c
commit
cf0de8efbf
@ -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