Add support for InvUnload #146
Reference in New Issue
Block a user
No description provided.
Delete Branch "master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This will check if the PlayerInteractEvent is an instance of InvUnload's custom event extending the PlayerInteractEvent. If yes, the listener immediately exists, because it doesn't have to do anything.This is checked by using Event#getClass#getName, so that no dependencies need to be added. It has no downsides at all, so it would be nice if you could consider merging this PR.This will not cancel 3rd party plugins' events that extend PlayerInteractEvent.
This fixes #144
Looks good, thanks!