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:
Harmonic 2020-07-12 07:46:14 -04:00
commit cfcc2d0f7c

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);
}
}