From 1a7c1e25448c86369c5846519e0a1c271884dbe0 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Tue, 31 Dec 2024 20:21:51 -0600 Subject: [PATCH] mine load error --- src/engine/db/handlers/dbHandlerBase.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/engine/db/handlers/dbHandlerBase.java b/src/engine/db/handlers/dbHandlerBase.java index d9eb1d82..68183400 100644 --- a/src/engine/db/handlers/dbHandlerBase.java +++ b/src/engine/db/handlers/dbHandlerBase.java @@ -56,6 +56,13 @@ public abstract class dbHandlerBase { while (rs.next()) { int id = rs.getInt(1); + try { + if (rs.getInt("capSize") == 0) { + continue; + } + }catch(Exception e){ + //not a mine + } if (DbManager.inCache(localObjectType, id)) { objectList.add((T) DbManager.getFromCache(localObjectType, id));