From 0c1431e60d8ec592737bd94024136d635b0b8b38 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Thu, 28 Mar 2024 20:37:45 -0500 Subject: [PATCH] SQL fix --- src/engine/db/handlers/dbItemHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/db/handlers/dbItemHandler.java b/src/engine/db/handlers/dbItemHandler.java index d6d3773b..e21f87da 100644 --- a/src/engine/db/handlers/dbItemHandler.java +++ b/src/engine/db/handlers/dbItemHandler.java @@ -343,7 +343,7 @@ public class dbItemHandler extends dbHandlerBase { HashSet itemSet = new HashSet<>(); 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);