Refactor warehouse part two.

This commit is contained in:
2024-03-17 09:01:35 -04:00
parent 3c70a09e12
commit b76a384e1f
6 changed files with 132 additions and 811 deletions
+2 -3
View File
@@ -171,9 +171,8 @@ public class dbItemHandler extends dbHandlerBase {
JSONParser jsonParser = new JSONParser();
try (Connection connection = DbManager.getConnection();
PreparedStatement preparedStatement = connection.prepareStatement("SELECT * FROM `static_item_templates`;")) {
ResultSet rs = preparedStatement.executeQuery();
PreparedStatement preparedStatement = connection.prepareStatement("SELECT * FROM `static_item_templates`;");
ResultSet rs = preparedStatement.executeQuery()) {
while (rs.next()) {
int templateID = rs.getInt("id");