Skip to content

v3.3.0

Choose a tag to compare

@Mqzn Mqzn released this 04 Apr 00:36
· 77 commits to master since this release

Changes:

  • Added a parameter in @Async that takes a class of type ExecutorServiceProvider to allow users to set their own ExecutorService for async execution.
  • Fixed Player parameters not recognized as arguments.
  • Fixed permission checks not working properly.
  • Fixed numeric arguments with ranges not working correctly if the argument is optional.
  • Fixed auto-completion results of numeric arguments not being formatted/handled correctly.
  • Fixed: brigadier/minecraft original arg-types parsing classpath overlapping with existing predefined types like Integer got removed.
  • Set the message of EventException be visible only if ImperatDebugger is enabled.
  • Refactored the constructor of PermissionDeniedException, to include extra data (e.g: the entity that caused this exception to be thrown, it could be an argument, a pathway, or even a command including subcommands).
  • Changed the handling logic of PermissionDeniedException.
  • Refactored PermissionChecker#checkPermission method to return Pair<PermissionHolder, Boolean> instead of boolean.

Internal Changes:

  • Added method NumberArgument#cast
  • Renamed InputParameter and NumericParameter to InputArgument and NumericArgument; update related references and implementations for consistency

Full Changelog: v3.2.0...v3.3.0