Browse Source

boxshroud fixes

lakebane-master
FatBoy-DOTC 9 months ago
parent
commit
3ef3a0c37c
  1. 6
      src/engine/db/handlers/dbItemHandler.java
  2. 1
      src/engine/objects/PlayerCharacter.java

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

@ -354,7 +354,11 @@ public class dbItemHandler extends dbHandlerBase {
ResultSet rs = preparedStatement.executeQuery(); ResultSet rs = preparedStatement.executeQuery();
if (rs.next()) if (rs.next())
worked = rs.getBoolean("result"); try {
worked = rs.getBoolean("result");
} catch(Exception e){
worked = true;
}
} catch (SQLException e) { } catch (SQLException e) {
Logger.error(e); Logger.error(e);

1
src/engine/objects/PlayerCharacter.java

@ -4829,6 +4829,7 @@ public class PlayerCharacter extends AbstractCharacter {
if (pc.isBoxed == true) if (pc.isBoxed == true)
continue; continue;
this.isBoxed = true; this.isBoxed = true;
break;
} }
} }
} }

Loading…
Cancel
Save