From 6bcbe0f63379960f1d43a2696dd1689d554c0053 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Thu, 2 Jan 2025 20:56:52 -0600 Subject: [PATCH] all sages can repair everything --- src/engine/db/handlers/dbContractHandler.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/engine/db/handlers/dbContractHandler.java b/src/engine/db/handlers/dbContractHandler.java index bdfc464d..353b6b1a 100644 --- a/src/engine/db/handlers/dbContractHandler.java +++ b/src/engine/db/handlers/dbContractHandler.java @@ -135,7 +135,8 @@ public class dbContractHandler extends dbHandlerBase { ResultSet rs = preparedStatement.executeQuery(); while (rs.next()) { - contract.getBuySkillToken().add(rs.getInt("value")); + if(!contract.getBuySkillToken().contains(rs.getInt("value"))) + contract.getBuySkillToken().add(rs.getInt("value")); } } catch (SQLException e) { Logger.error(e);