From a4a375e13bc3757be21c1dfdc7fb51db813a395b Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Tue, 30 Apr 2024 19:50:27 -0500 Subject: [PATCH] zone loading --- src/engine/db/handlers/dbZoneHandler.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/engine/db/handlers/dbZoneHandler.java b/src/engine/db/handlers/dbZoneHandler.java index 84abc1a7..e5fe9e62 100644 --- a/src/engine/db/handlers/dbZoneHandler.java +++ b/src/engine/db/handlers/dbZoneHandler.java @@ -84,6 +84,13 @@ public class dbZoneHandler extends dbHandlerBase { ResultSet rs = preparedStatement.executeQuery(); zoneList = getObjectsFromRs(rs, 2000); + + zoneList.clear(); + while(rs.next()){ + if(rs.getInt("canLoad") == 1) + zoneList.add(new Zone(rs)); + + } } catch (SQLException e) { Logger.error(e); }