move bypass permission location

This commit is contained in:
Gnat008 2016-06-15 15:15:39 -04:00
parent 68c3aabce4
commit 3a102c324e
3 changed files with 7 additions and 8 deletions

View File

@ -58,12 +58,7 @@ public enum PlayerPermission implements PermissionNode {
/** /**
* Permission to use to see own other accounts. * Permission to use to see own other accounts.
*/ */
SEE_OWN_ACCOUNTS("authme.player.seeownaccounts", DefaultPermission.ALLOWED), SEE_OWN_ACCOUNTS("authme.player.seeownaccounts", DefaultPermission.ALLOWED);
/**
* Permission to bypass the purging process
*/
BYPASS_PURGE("authme.player.bypasspurge", DefaultPermission.NOT_ALLOWED);
/** /**
* The permission node. * The permission node.

View File

@ -24,7 +24,12 @@ public enum PlayerStatePermission implements PermissionNode {
/** /**
* Permission to be able to register multiple accounts. * Permission to be able to register multiple accounts.
*/ */
ALLOW_MULTIPLE_ACCOUNTS("authme.allowmultipleaccounts", DefaultPermission.OP_ONLY); ALLOW_MULTIPLE_ACCOUNTS("authme.allowmultipleaccounts", DefaultPermission.OP_ONLY),
/**
* Permission to bypass the purging process
*/
BYPASS_PURGE("authme.bypasspurge", DefaultPermission.NOT_ALLOWED);
/** /**
* The permission node. * The permission node.

View File

@ -4,7 +4,6 @@ import fr.xephi.authme.permission.PermissionNode;
import fr.xephi.authme.permission.PermissionsSystemType; import fr.xephi.authme.permission.PermissionsSystemType;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
import org.bukkit.inventory.meta.BookMeta;
import org.tyrannyofheaven.bukkit.zPermissions.ZPermissionsService; import org.tyrannyofheaven.bukkit.zPermissions.ZPermissionsService;
import java.util.ArrayList; import java.util.ArrayList;