SQL fix
This commit is contained in:
@@ -343,7 +343,7 @@ public class dbItemHandler extends dbHandlerBase {
|
|||||||
HashSet<Integer> itemSet = new HashSet<>();
|
HashSet<Integer> itemSet = new HashSet<>();
|
||||||
|
|
||||||
try (Connection connection = DbManager.getConnection();
|
try (Connection connection = DbManager.getConnection();
|
||||||
PreparedStatement preparedStatement = connection.prepareStatement("SELECT ID FROM static_vendor_items WHERE vendorType = ?")) {
|
PreparedStatement preparedStatement = connection.prepareStatement("SELECT templateID FROM static_vendor_items WHERE vendorType = ?")) {
|
||||||
|
|
||||||
preparedStatement.setInt(1, vendorID);
|
preparedStatement.setInt(1, vendorID);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user