From fe0c0f97a5e3f7555a9612ab4fa85fc51ee64dac Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Tue, 11 Jun 2024 19:33:29 -0500 Subject: [PATCH] duplicated zone loading disabled --- src/engine/db/handlers/dbCityHandler.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/engine/db/handlers/dbCityHandler.java b/src/engine/db/handlers/dbCityHandler.java index bf3d9d98..f0daf3d0 100644 --- a/src/engine/db/handlers/dbCityHandler.java +++ b/src/engine/db/handlers/dbCityHandler.java @@ -32,6 +32,9 @@ public class dbCityHandler extends dbHandlerBase { String type = rs.getString("type"); switch (type) { case "zone": + if(rs.getInt("canLoad") == 0){ + return; + } Zone zone = new Zone(rs); DbManager.addToCache(zone); list.add(zone);