Browse Source

zone loading

lakebane-master
FatBoy-DOTC 7 months ago
parent
commit
a4a375e13b
  1. 7
      src/engine/db/handlers/dbZoneHandler.java

7
src/engine/db/handlers/dbZoneHandler.java

@ -84,6 +84,13 @@ public class dbZoneHandler extends dbHandlerBase { @@ -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);
}

Loading…
Cancel
Save