zone override

This commit is contained in:
2024-02-24 21:06:34 -06:00
parent 603c4d1d5a
commit ad51d90e1e
+1 -1
View File
@@ -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);