A hotfix release that addresses a NullPointerException flooding the server console when the web library's confirmation prompt is abandoned (e.g. after multiple clicks on a library entry, or after the inactivity timeout).
Bug Fixes
- Confirmation conversations no longer NPE on abandon —
LibraryPaneland the wipe/delete prompts in the admin GUI usedif (value)on a boxedBoolean, which threw aNullPointerExceptionwhenever a conversation was abandoned instead of answered (consumer.accept(null)is the documented signal for an abandon). Most visible in the web library: clicking a library entry several times before typingconfirmwould queue extra prompts, and every one of those would erupt with an NPE as it timed out. All sixConsumer<Boolean>callsites now useBoolean.TRUE.equals(value)so abandons are silently treated as no-ops. [PR #396]
Compatibility
✔️ BentoBox API 3.14.0
✔️ Minecraft 1.21.11
✔️ Java 21
Upgrading
- Stop the server (or use a plugin manager that supports addon reloads).
- Replace
BentoBox/addons/Challenges-1.6.0.jarwithChallenges-1.6.1.jar. - Start the server. No config or locale changes are required — drop-in replacement.
What's Changed
- Fix NPE when confirmation conversations are abandoned by @tastybento in #396
Full Changelog: 1.6.0...1.6.1