Give CommandManager a registration state (#148)

* Make CommandManager track its availability for registration

This prevents situations where changes to the manager
would result in undefined state in other places.

* Add unsafe registration capability

* Very minor formatting + `@since` tags

* Add changes to changelog

Co-authored-by: Alexander Söderberg <sauilitired@gmail.com>
This commit is contained in:
zml 2020-11-29 06:29:41 -08:00 committed by Alexander Söderberg
parent 65684d0036
commit 013d2d61f4
11 changed files with 273 additions and 155 deletions

View file

@ -35,7 +35,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added TextColorArgument to minecraft-extras
- Added LocationArgument to cloud-bukkit
- Added ServerArgument to cloud-velocity
- Added LockableCommandManager to cloud-core
- Added VelocityCommandPreprocessor to cloud-velocity
- Added PlayerArgument to cloud-bungee
- Added ServerArgument to cloud-bungee
@ -44,6 +43,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added BungeeCommandPreprocessor to cloud-bungee
- Added named suggestion providers
- Added a PircBotX implementation
- Added registration state to command managers
### Changed
- Allow for combined presence flags, such that `-a -b -c` is equivalent to `-abc`