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);