🐛 Transition to AFTER_REGISTRATION even when no commands have been registered
This commit is contained in:
parent
7eddcd237a
commit
8913b2495e
5 changed files with 19 additions and 8 deletions
|
|
@ -375,7 +375,7 @@ public class BukkitCommandManager<C> extends CommandManager<C> implements Brigad
|
|||
|
||||
final void lockIfBrigadierCapable() {
|
||||
if (this.minecraftVersion >= BRIGADIER_MINIMUM_VERSION) {
|
||||
this.transitionOrThrow(RegistrationState.REGISTERING, RegistrationState.AFTER_REGISTRATION);
|
||||
this.lockRegistration();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue