From 569eaebd6555de10a0b88497b260c209c9b8d047 Mon Sep 17 00:00:00 2001 From: William Date: Fri, 18 Mar 2016 03:30:17 -0400 Subject: [PATCH] Allow Reloading of Custom Permissions https://github.com/PaperMC/Paper/issues/49 diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java index 8ffc06b..29244e1 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java @@ -1838,4 +1838,12 @@ public final class CraftServer implements Server { { return spigot; } + + // Paper start + @Override + public void reloadPermissions() { + ((SimplePluginManager) pluginManager).clearPermissions(); + loadCustomPermissions(); + } + // Paper end } -- 2.8.0