🐛 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
|
|
@ -139,7 +139,7 @@ public class VelocityCommandManager<C> extends CommandManager<C> implements Brig
|
|||
}
|
||||
|
||||
this.proxyServer.getEventManager().register(plugin, ServerPreConnectEvent.class, ev -> {
|
||||
this.transitionOrThrow(RegistrationState.REGISTERING, RegistrationState.AFTER_REGISTRATION);
|
||||
this.lockRegistration();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue