diff --git a/src/engine/db/handlers/dbItemHandler.java b/src/engine/db/handlers/dbItemHandler.java index df14509b..44749b5d 100644 --- a/src/engine/db/handlers/dbItemHandler.java +++ b/src/engine/db/handlers/dbItemHandler.java @@ -101,6 +101,8 @@ public class dbItemHandler extends dbHandlerBase { for (Enum.ItemFlags itemflag : toAdd.flags) flagString += itemflag.toString() + ";"; + flagString = flagString.replaceAll(";$", ""); + preparedStatement.setString(9, flagString); preparedStatement.setString(10, toAdd.name);