summaryrefslogtreecommitdiffstats
path: root/EssentialsProtect/src/net/ess3/protect/Permissions.java
diff options
context:
space:
mode:
Diffstat (limited to 'EssentialsProtect/src/net/ess3/protect/Permissions.java')
-rw-r--r--EssentialsProtect/src/net/ess3/protect/Permissions.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/EssentialsProtect/src/net/ess3/protect/Permissions.java b/EssentialsProtect/src/net/ess3/protect/Permissions.java
index 7a0dd3b7e..66c7b1c55 100644
--- a/EssentialsProtect/src/net/ess3/protect/Permissions.java
+++ b/EssentialsProtect/src/net/ess3/protect/Permissions.java
@@ -2,6 +2,7 @@ package net.ess3.protect;
import java.util.Locale;
import net.ess3.api.IPermission;
+import net.ess3.bukkit.PermissionFactory;
import net.ess3.utils.Util;
import org.bukkit.command.CommandSender;
import org.bukkit.permissions.Permission;
@@ -63,7 +64,7 @@ public enum Permissions implements IPermission
}
else
{
- return Util.registerPermission(getPermissionName(), getPermissionDefault());
+ return PermissionFactory.registerPermission(getPermissionName(), getPermissionDefault());
}
}