Browse Source

duplicated zone loading disabled

lakebane-new
FatBoy-DOTC 5 months ago
parent
commit
fe0c0f97a5
  1. 3
      src/engine/db/handlers/dbCityHandler.java

3
src/engine/db/handlers/dbCityHandler.java

@ -32,6 +32,9 @@ public class dbCityHandler extends dbHandlerBase {
String type = rs.getString("type"); String type = rs.getString("type");
switch (type) { switch (type) {
case "zone": case "zone":
if(rs.getInt("canLoad") == 0){
return;
}
Zone zone = new Zone(rs); Zone zone = new Zone(rs);
DbManager.addToCache(zone); DbManager.addToCache(zone);
list.add(zone); list.add(zone);

Loading…
Cancel
Save