|
|
|
@ -102,9 +102,9 @@ public void LOAD_ALL_ITEM_REQUIREMENTS(){
@@ -102,9 +102,9 @@ public void LOAD_ALL_ITEM_REQUIREMENTS(){
|
|
|
|
|
PreparedStatement preparedStatement = connection.prepareStatement("SELECT * FROM static_item_requirements WHERE 'itemID' = ?")) { |
|
|
|
|
preparedStatement.setInt(1, itemBase.getUUID()); |
|
|
|
|
ResultSet rs = preparedStatement.executeQuery(); |
|
|
|
|
while(rs.next()) { |
|
|
|
|
//while(rs.next()) {
|
|
|
|
|
itemBase.LoadRequirements(rs.getString("racesRequired"), rs.getString("racesRestricted"), rs.getString("classesRequired"), rs.getString("classesRestricted"), rs.getString("discsRequired"), rs.getString("discsRestricted")); |
|
|
|
|
} |
|
|
|
|
//}
|
|
|
|
|
} catch (SQLException e) { |
|
|
|
|
Logger.error("No Entry In static_item_requirements for item UUID: " + itemBase.getUUID()); |
|
|
|
|
} |
|
|
|
|