Equipslot stored as string
This commit is contained in:
1 parent
0e431aa726
commit
cfc36c0c27
2 files changed
+10
-2
No files matched your search
@@ -92,7 +92,10 @@ public class dbItemHandler extends dbHandlerBase {
|
||||
break;
|
||||
}
|
||||
|
||||
preparedStatement.setByte(7, (byte) toAdd.equipSlot.ordinal());
|
||||
if (toAdd.equipSlot.equals(Enum.EquipSlotType.NONE))
|
||||
preparedStatement.setString(7, "");
|
||||
else
|
||||
preparedStatement.setString(7, toAdd.equipSlot.name());
|
||||
|
||||
String flagString = "";
|
||||
|
||||
|
||||
Reference in new issue
Block a user