Browse Source

Back filling item flags

combat-2
MagicBot 8 months ago
parent
commit
22d08b51b7
  1. 2
      src/engine/db/handlers/dbItemHandler.java

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

@ -557,6 +557,8 @@ public class dbItemHandler extends dbHandlerBase {
for (Enum.ItemFlags itemflag : itemFlags) for (Enum.ItemFlags itemflag : itemFlags)
flagString += itemflag.toString() + ";"; flagString += itemflag.toString() + ";";
flagString = flagString.replaceAll(";$", "");
preparedStatement.setString(1, flagString); preparedStatement.setString(1, flagString);
preparedStatement.setLong(2, itemUUID); preparedStatement.setLong(2, itemUUID);

Loading…
Cancel
Save