Add ComponentLike
argument to #failWithAdventureComponent
method
#577
Labels
enhancement
New feature or request
implemented for next release
This has been implemented in the current dev build for the next public release
Description
I'd like to send error messages, using my custom message class, which implements
ComponentLike
interface.At the moment, my error handling in commands looks like this:
After implementing suggested feature, my error handling would be:
The second option looks much easier and prettier.
Expected code
Extra details
No response
The text was updated successfully, but these errors were encountered: