Browse Source

SQL fix

combat-2
FatBoy-DOTC 8 months ago
parent
commit
0c1431e60d
  1. 2
      src/engine/db/handlers/dbItemHandler.java

2
src/engine/db/handlers/dbItemHandler.java

@ -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);

Loading…
Cancel
Save