Browse Source

zone override

birdbane
FatBoy-DOTC 9 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 { @@ -32,7 +32,7 @@ public class dbCityHandler extends dbHandlerBase {
String type = rs.getString("type");
switch (type) {
case "zone":
if(rs.getInt("isPlayerCity") != 0 && Zone.skipZone(rs.getString("Name")))
if(rs.getInt("isPlayerCity") == 0 && Zone.skipZone(rs.getString("Name")))
break;
Zone zone = new Zone(rs);
DbManager.addToCache(zone);

Loading…
Cancel
Save