Skip to content

v2.4.2-rc.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@DevNatan DevNatan released this 10 Mar 18:01
· 558 commits to main since this release

Bug fixes

  • getClickOrigin() from ViewSlotContext returning null.
  • onItemRelease(...) is no longer called if the global click was cancelled.

Optimizations

We've changed a few things in the click listener that make us skip some steps depending on conditions that will slightly increase the performance of click handlers. Also, now the inventory drag event checks is skipped if the View doesn't have cancelOnDrag set explicitly.

Internal changes

  • NOTHING and UNKNOWN click types are now cancelled by default, we will soon provide options to change this behavior.
  • A IllegalStateException is throw when player context is not found and he has a View opened.