From 3228f473de782309125be4fc8d20d90fee4f6502 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Tue, 11 Jun 2024 19:57:20 -0500 Subject: [PATCH] fix for mines loading --- src/engine/db/handlers/dbHandlerBase.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/engine/db/handlers/dbHandlerBase.java b/src/engine/db/handlers/dbHandlerBase.java index cb0fdd43..e237306c 100644 --- a/src/engine/db/handlers/dbHandlerBase.java +++ b/src/engine/db/handlers/dbHandlerBase.java @@ -62,6 +62,9 @@ public abstract class dbHandlerBase { } else { AbstractGameObject toAdd = localClass.getConstructor(ResultSet.class).newInstance(rs); DbManager.addToCache(toAdd); + if(toAdd.getObjectType().equals(GameObjectType.Mine) && rs.getInt("mineLiveHour") == 1){ + continue; + } if(toAdd.getObjectType().equals(GameObjectType.Zone) && rs.getInt("canLoad") == 0){ continue; }