Fixed issue caused by Mod Tools Disconnect Fix.

This commit is contained in:
Cam 2020-07-12 07:46:14 -04:00 committed by Harmonic
parent e7532b4d5c
commit cf0de8efbf

View File

@ -394,7 +394,7 @@ public class RoomManager {
public void clearInactiveRooms() {
THashSet<Room> roomsToDispose = new THashSet<>();
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);
}
}