We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug As the title says, an IPAE is thrown when a class that doesn't implement Event is used as input.
To reproduce
import: java.util.function.Consumer on Consumer: broadcast "%event%"
Expected behavior I would expect the addon to do type-checking before casting or passing around the input, and throw an error if applicable.
The text was updated successfully, but these errors were encountered:
Make EvtByReflection check if input class is a Bukkit event (issue #39)
8e024e2
Fixed in 8e024e2
Sorry, something went wrong.
No branches or pull requests
Describe the bug
As the title says, an IPAE is thrown when a class that doesn't implement Event is used as input.
To reproduce
Expected behavior
I would expect the addon to do type-checking before casting or passing around the input, and throw an error if applicable.
The text was updated successfully, but these errors were encountered: