Load custom permissions after default permissions.

By: blablubbabc <lukas@wirsindwir.de>
This commit is contained in:
CraftBukkit/Spigot 2019-02-17 17:07:56 +01:00
parent 9ff569d110
commit 961fc0efe5

View file

@ -354,9 +354,9 @@ public final class CraftServer implements Server {
commandMap.setFallbackCommands(); commandMap.setFallbackCommands();
setVanillaCommands(); setVanillaCommands();
commandMap.registerServerAliases(); commandMap.registerServerAliases();
loadCustomPermissions();
DefaultPermissions.registerCorePermissions(); DefaultPermissions.registerCorePermissions();
CraftDefaultPermissions.registerCorePermissions(); CraftDefaultPermissions.registerCorePermissions();
loadCustomPermissions();
helpMap.initializeCommands(); helpMap.initializeCommands();
syncCommands(); syncCommands();
} }