-
-
Notifications
You must be signed in to change notification settings - Fork 373
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds ability to listen to cancelled events (#6207)
* Hey! Listen! Adds functionality to allow events to listen to cancelled events only, uncancelled only (previous behavior), and both. Deprecates listenCancelled (breaking change for EvtResurrect) * Apply suggestions from code review Co-authored-by: _tud <98935832+UnderscoreTud@users.noreply.github.com> * Allow events to have specific default listening behavior Removes breaking change from EvtResurrect. Refactors some of SkriptEventHandler Errors for events that don't support cancelling Bug fix for data leak via EventData * revert incorrect java doc change * Streamline setting default behavior * indentation * Prevent any sort of listening behavior on events that can't be cancelled. Reduce local complexity in SkriptEventHandler * Fix merge mistake * Apply suggestions from code review Co-authored-by: Patrick Miller <apickledwalrus@gmail.com> * Requested Changes * Cancelled Event Test * Fix merge mistakes I need to stop using the browser for merge conflicts * Update SkriptEventHandler.java --------- Co-authored-by: _tud <98935832+UnderscoreTud@users.noreply.github.com> Co-authored-by: Moderocky <admin@moderocky.com> Co-authored-by: Patrick Miller <apickledwalrus@gmail.com>
- Loading branch information
1 parent
e454a10
commit 33d0fb1
Showing
8 changed files
with
361 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.