diff --git a/src/engine/db/handlers/dbItemHandler.java b/src/engine/db/handlers/dbItemHandler.java index e04f68cc..17468c8d 100644 --- a/src/engine/db/handlers/dbItemHandler.java +++ b/src/engine/db/handlers/dbItemHandler.java @@ -557,6 +557,8 @@ public class dbItemHandler extends dbHandlerBase { for (Enum.ItemFlags itemflag : itemFlags) flagString += itemflag.toString() + ";"; + flagString = flagString.replaceAll(";$", ""); + preparedStatement.setString(1, flagString); preparedStatement.setLong(2, itemUUID);