CommandHelper

CommandHelper

46.5k Downloads

player_interact is_cancelled() is always true (spigot server)

LadyCailinBot opened this issue ยท 1 comments

commented

CMDHELPER-2852 - Reported by Guy.Nice

Every time player_interact runs is_cancelled() tells that it is cancelled, even if its not. And action is never right_click_block or left_click_block.
Only happens on spigot, not on bukkit. And only on player_interact

commented

Comment by LadyCailin

If the behavior changes between spigot and bukkit, then likely this is a bug in spigot, not CH. is_cancelled is pretty much boilerplate; either it should be broken for all events, or work for all events, at least from a CH perspective. The code for determining is_cancelled is pretty straightforward: Cancellable.isCancelled(). This is the exact same code that every other event is using too. Have you filed a bug report with spigot?