Can roll list refactored
This commit is contained in:
@@ -321,12 +321,12 @@ public class dbItemHandler extends dbHandlerBase {
|
||||
return worked;
|
||||
}
|
||||
|
||||
public HashSet<Integer> GET_ITEMS_FOR_VENDOR(final int vendorID) {
|
||||
public HashSet<Integer> GET_VENDOR_CAN_ROLL_LIST(final int vendorID) {
|
||||
|
||||
HashSet<Integer> itemSet = new HashSet<>();
|
||||
|
||||
try (Connection connection = DbManager.getConnection();
|
||||
PreparedStatement preparedStatement = connection.prepareStatement("SELECT ID FROM static_itembase WHERE vendorType = ?")) {
|
||||
PreparedStatement preparedStatement = connection.prepareStatement("SELECT ID FROM static_vendor_items WHERE vendorType = ?")) {
|
||||
|
||||
preparedStatement.setInt(1, vendorID);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user