|
|
|
@ -52,10 +52,10 @@ public class dbItemBaseHandler extends dbHandlerBase {
@@ -52,10 +52,10 @@ public class dbItemBaseHandler extends dbHandlerBase {
|
|
|
|
|
|
|
|
|
|
preparedStatement.setInt(1, itemBase.getUUID()); |
|
|
|
|
ResultSet rs = preparedStatement.executeQuery(); |
|
|
|
|
try { |
|
|
|
|
|
|
|
|
|
// Check if a result was found
|
|
|
|
|
if (rs.next()) { |
|
|
|
|
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) { |
|
|
|
|