* Add the ability to register exception handlers to handle exceptions that occur while executing a command
* you saw nothing
* add ability to cancel default error message
* per command exception handler
* add a getter for the default exception handler
For consistency, make Completion Handlers be implemented the same way Context Handlers are.
Previously when we added the Context parameter, we left the original signature in place and simply tacked , c on the end.
This made migration easier than changing all completion handlers bodies.
But since 0.5.0 is a big migration already, let's just get it over with.
See changes to Bukkit default completions and the example plugin for migration example.
* master:
Warn if you register replacements after commands
add some more example
Fix Command Replacements not being applied correctly to aliases - fixes#37
This likely wouldn't of broke anyones code, only if they used the Timings method
in ACFUtil, but bumping just to be 'good' since it is an API break.
If you did not use the Timings in ACFUtil, then you can just bump the version
without breakages.
Timings is now handled over at https://github.com/aikar/minecraft-timings
Just add ", c" to your registerCompletion handler:
commandManager.getCommandCompletions().registerCompletion("test", (sender, config, input, c) -> {
});