From 45a0747176e664dc1e425aac05c97e0655206608 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Wed, 7 Feb 2024 19:35:56 -0600 Subject: [PATCH] server side race/cass restrictions --- src/engine/db/handlers/dbItemBaseHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/db/handlers/dbItemBaseHandler.java b/src/engine/db/handlers/dbItemBaseHandler.java index c935672a..24ef36a0 100644 --- a/src/engine/db/handlers/dbItemBaseHandler.java +++ b/src/engine/db/handlers/dbItemBaseHandler.java @@ -102,9 +102,9 @@ public void LOAD_ALL_ITEM_REQUIREMENTS(){ PreparedStatement preparedStatement = connection.prepareStatement("SELECT * FROM static_item_requirements WHERE 'itemID' = ?")) { preparedStatement.setInt(1, itemBase.getUUID()); ResultSet rs = preparedStatement.executeQuery(); - while(rs.next()) { + //while(rs.next()) { itemBase.LoadRequirements(rs.getString("racesRequired"), rs.getString("racesRestricted"), rs.getString("classesRequired"), rs.getString("classesRestricted"), rs.getString("discsRequired"), rs.getString("discsRestricted")); - } + //} } catch (SQLException e) { Logger.error("No Entry In static_item_requirements for item UUID: " + itemBase.getUUID()); }