13
0
geforkt von Mirrors/Paper

Fix early load perms patch (Fixes #5917)

Dieser Commit ist enthalten in:
Shane Freeder 2021-06-21 09:41:00 +01:00
Ursprung 5f20f9bf95
Commit 1763250105

Datei anzeigen

@ -34,13 +34,13 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
@@ -0,0 +0,0 @@ public final class CraftServer implements Server {
if (!Main.useConsole) {
this.getLogger().info("Console input is disabled due to --noconsole command argument");
if (type == PluginLoadOrder.STARTUP) {
this.helpMap.clear();
this.helpMap.initializeGeneralTopics();
+ if (com.destroystokyo.paper.PaperConfig.loadPermsBeforePlugins) loadCustomPermissions(); // Paper
}
this.configuration = YamlConfiguration.loadConfiguration(this.getConfigFile());
Plugin[] plugins = this.pluginManager.getPlugins();
@@ -0,0 +0,0 @@ public final class CraftServer implements Server {
this.commandMap.registerServerAliases();
DefaultPermissions.registerCorePermissions();