From f5b08c1868aa7f1c036684338a9bc26a7ddb575e Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Wed, 14 Feb 2024 13:27:00 -0600 Subject: [PATCH] mines set to 5 cap, zerg mechanic buff/debuff introduced --- src/engine/db/handlers/dbItemHandler.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/engine/db/handlers/dbItemHandler.java b/src/engine/db/handlers/dbItemHandler.java index 8e6ffd95..d0821606 100644 --- a/src/engine/db/handlers/dbItemHandler.java +++ b/src/engine/db/handlers/dbItemHandler.java @@ -135,7 +135,11 @@ public class dbItemHandler extends dbHandlerBase { ResultSet rs = preparedStatement.executeQuery(); if (rs.next()) - worked = rs.getBoolean("result"); + try { + worked = rs.getBoolean("result"); + }catch(Exception e){ + return true; + } } catch (SQLException e) { Logger.error(e);