Browse Source

trade bug

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

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

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

Loading…
Cancel
Save