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