Skip to content

Release 1.6.1

Latest

Choose a tag to compare

@tastybento tastybento released this 26 May 04:11
· 7 commits to master since this release
0a70348

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 abandonLibraryPanel and the wipe/delete prompts in the admin GUI used if (value) on a boxed Boolean, which threw a NullPointerException whenever 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 typing confirm would queue extra prompts, and every one of those would erupt with an NPE as it timed out. All six Consumer<Boolean> callsites now use Boolean.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

  1. Stop the server (or use a plugin manager that supports addon reloads).
  2. Replace BentoBox/addons/Challenges-1.6.0.jar with Challenges-1.6.1.jar.
  3. 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