diff --git a/paper-api/src/main/java/org/bukkit/plugin/SimplePluginManager.java b/paper-api/src/main/java/org/bukkit/plugin/SimplePluginManager.java index d4f6bf342f..8224d299b3 100644 --- a/paper-api/src/main/java/org/bukkit/plugin/SimplePluginManager.java +++ b/paper-api/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) {