Browse Source

trade bug

lakebane-optimize
FatBoy-DOTC 2 weeks ago
parent
commit
884cb30ebd
  1. 8
      src/engine/db/handlers/dbItemHandler.java

8
src/engine/db/handlers/dbItemHandler.java

@ -134,9 +134,13 @@ public class dbItemHandler extends dbHandlerBase { @@ -134,9 +134,13 @@ public class dbItemHandler extends dbHandlerBase {
ResultSet rs = preparedStatement.executeQuery();
if (rs.next())
if (rs.next()) {
try {
worked = rs.getBoolean("result");
}catch(Exception e){
worked = false;
}
}
} catch (SQLException e) {
Logger.error(e);
}

Loading…
Cancel
Save