PlayerCombatStats dex penalty applied correctly
This commit is contained in:
@@ -52,8 +52,11 @@ public class dbItemBaseHandler extends dbHandlerBase {
|
|||||||
|
|
||||||
preparedStatement.setInt(1, itemBase.getUUID());
|
preparedStatement.setInt(1, itemBase.getUUID());
|
||||||
ResultSet rs = preparedStatement.executeQuery();
|
ResultSet rs = preparedStatement.executeQuery();
|
||||||
|
try {
|
||||||
itemBase.dexReduction = rs.getFloat("item_bulk_factor");
|
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) {
|
} catch (SQLException e) {
|
||||||
Logger.error(e);
|
Logger.error(e);
|
||||||
|
|||||||
Reference in New Issue
Block a user