Relocate CommandMap#registerServerAliases() call to after lifecycle events have been run (#12601)
This commit is contained in:
@@ -613,7 +613,6 @@ public final class CraftServer implements Server {
|
||||
// Spigot start - Allow vanilla commands to be forced to be the main command
|
||||
this.commandMap.setFallbackCommands();
|
||||
// Spigot end
|
||||
this.commandMap.registerServerAliases();
|
||||
DefaultPermissions.registerCorePermissions();
|
||||
CraftDefaultPermissions.registerCorePermissions();
|
||||
if (!io.papermc.paper.configuration.GlobalConfiguration.get().misc.loadPermissionsYmlBeforePlugins) this.loadCustomPermissions(); // Paper
|
||||
|
||||
Reference in New Issue
Block a user