diff --git a/src/engine/db/handlers/dbItemHandler.java b/src/engine/db/handlers/dbItemHandler.java index d0821606..2fc9b64e 100644 --- a/src/engine/db/handlers/dbItemHandler.java +++ b/src/engine/db/handlers/dbItemHandler.java @@ -354,7 +354,11 @@ public class dbItemHandler extends dbHandlerBase { ResultSet rs = preparedStatement.executeQuery(); if (rs.next()) - worked = rs.getBoolean("result"); + try { + worked = rs.getBoolean("result"); + } catch(Exception e){ + worked = true; + } } catch (SQLException e) { Logger.error(e); diff --git a/src/engine/objects/PlayerCharacter.java b/src/engine/objects/PlayerCharacter.java index 4a69143d..0b9bb680 100644 --- a/src/engine/objects/PlayerCharacter.java +++ b/src/engine/objects/PlayerCharacter.java @@ -4829,6 +4829,7 @@ public class PlayerCharacter extends AbstractCharacter { if (pc.isBoxed == true) continue; this.isBoxed = true; + break; } } }