zone override

This commit is contained in:
2024-02-24 21:01:33 -06:00
parent 8e4aa20404
commit 8fcbd8c1e0
2 changed files with 22 additions and 1 deletions
@@ -32,6 +32,8 @@ public class dbCityHandler extends dbHandlerBase {
String type = rs.getString("type");
switch (type) {
case "zone":
if(rs.getInt("isPlayerCity") != 0 && Zone.skipZone(rs.getString("Name")))
break;
Zone zone = new Zone(rs);
DbManager.addToCache(zone);
list.add(zone);