ScriptCraft

ScriptCraft

14.6k Downloads

this.cancel() in an event handler should cancel the event?

walterhiggins opened this issue ยท 1 comments

commented

Added an optional cancel parameter for each event handler - they can call the cancel() function provided if they want to cancel the event in a cross-framework way. (works for both Bukkit and CanaryMod which each have slightly different event cancelling methods)

commented

The reason for this is to make event canceling standard across canarymod/bukkit/other