diff options
-rw-r--r-- | src/main/java/org/bukkit/plugin/SimplePluginManager.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/bukkit/plugin/SimplePluginManager.java b/src/main/java/org/bukkit/plugin/SimplePluginManager.java index d4f6bf34..8224d299 100644 --- a/src/main/java/org/bukkit/plugin/SimplePluginManager.java +++ b/src/main/java/org/bukkit/plugin/SimplePluginManager.java @@ -581,11 +581,11 @@ public final class SimplePluginManager implements PluginManager { } public void removePermission(Permission perm) { - removePermission(perm.getName().toLowerCase()); + removePermission(perm.getName()); } public void removePermission(String name) { - permissions.remove(name); + permissions.remove(name.toLowerCase()); } public void recalculatePermissionDefaults(Permission perm) { |