Can roll list refactored

This commit is contained in:
2024-03-28 11:50:22 -04:00
parent a109e9864f
commit 8e43f17da0
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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);