From 36d8a6bdbdc07f38ba39b5b933a8461730e6df09 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sat, 30 Mar 2024 13:04:35 -0400 Subject: [PATCH] Fixing equipslot db issue --- src/engine/db/handlers/dbItemHandler.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/engine/db/handlers/dbItemHandler.java b/src/engine/db/handlers/dbItemHandler.java index 2608ad98..73b9cb76 100644 --- a/src/engine/db/handlers/dbItemHandler.java +++ b/src/engine/db/handlers/dbItemHandler.java @@ -92,10 +92,7 @@ public class dbItemHandler extends dbHandlerBase { break; } - if (toAdd.equipSlot.equals(Enum.EquipSlotType.NONE)) - preparedStatement.setString(7, ""); - else - preparedStatement.setString(7, toAdd.equipSlot.name()); + preparedStatement.setString(7, toAdd.equipSlot.name()); String flagString = "";