Relocate CommandMap#registerServerAliases() call to after lifecycle events have been run (#12601)

This commit is contained in:
Strokkur24
2025-06-21 20:44:07 +02:00
committed by GitHub
parent cceffe3d98
commit 186e9e331b
5 changed files with 16 additions and 16 deletions

View File

@@ -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