Browse Source

zone override

birdbane
FatBoy-DOTC 10 months ago
parent
commit
ad51d90e1e
  1. 2
      src/engine/db/handlers/dbCityHandler.java

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

@ -32,7 +32,7 @@ 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("isPlayerCity") != 0 && Zone.skipZone(rs.getString("Name"))) if(rs.getInt("isPlayerCity") == 0 && Zone.skipZone(rs.getString("Name")))
break; break;
Zone zone = new Zone(rs); Zone zone = new Zone(rs);
DbManager.addToCache(zone); DbManager.addToCache(zone);

Loading…
Cancel
Save