* 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 will be used for Sponge & Fabric, that both require command registration to happen (at latest) in specific events. This way we lock writing after that event has occurred.
As a side effect, we're able to collect & merge all commands before registering them to the platform, which means we don't have to hackily force-inject duplicate commands.
* ✨ Add LocationArgument to cloud-bukkit
* 🎨 Use the Bukkit CommandSender from the command context in LocationArgument
* 🐛 Fixed quoted parsing in StringArgument
* 📚 Fix code style
Co-authored-by: jmp <jasonpenilla2@me.com>
* ✅ Add a test for suggestions after an invalid literal
* 🐛 Fix wrong suggestions following an invalid literal
* 📚 Document literal suggestion fix in CHANGELOG
Co-authored-by: Alexander Söderberg <sauilitired@gmail.com>
* 🐛 Fix multiple chained optionals not working correctly
There is a problem where the child arguments never forwarded their commands correctly. This will now fix itself when necessary.
* 📚 Add CHANGELOG entry for change