v2.4.2-rc.1
Pre-release
Pre-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
andUNKNOWN
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.