Browse Source

all sages can repair everything

lakebane2
FatBoy-DOTC 2 weeks ago
parent
commit
6bcbe0f633
  1. 3
      src/engine/db/handlers/dbContractHandler.java

3
src/engine/db/handlers/dbContractHandler.java

@ -135,7 +135,8 @@ public class dbContractHandler extends dbHandlerBase { @@ -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);

Loading…
Cancel
Save