PlayerCombatStats dex penalty applied correctly

This commit is contained in:
2025-01-25 14:23:18 -06:00
parent 47914838f5
commit f073a93d47
@@ -52,8 +52,11 @@ public class dbItemBaseHandler extends dbHandlerBase {
preparedStatement.setInt(1, itemBase.getUUID());
ResultSet rs = preparedStatement.executeQuery();
itemBase.dexReduction = rs.getFloat("item_bulk_factor");
try {
itemBase.dexReduction = rs.getFloat("item_bulk_factor");
}catch(Exception e){
Logger.error("No Value Found For Dex Penalty FOr Item: " + itemBase.getUUID());
}
} catch (SQLException e) {
Logger.error(e);