Browse Source

Fixing equipslot db issue

combat-2
MagicBot 8 months ago
parent
commit
36d8a6bdbd
  1. 5
      src/engine/db/handlers/dbItemHandler.java

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

@ -92,10 +92,7 @@ public class dbItemHandler extends dbHandlerBase { @@ -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 = "";

Loading…
Cancel
Save