mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-18 20:41:37 +02:00
change checkPermissionExists to how Elgarl wants it
This commit is contained in:
@@ -2107,13 +2107,13 @@ public class GroupManager extends JavaPlugin {
|
||||
{
|
||||
sender.sendMessage(ChatColor.RED + "The " + type + " already has an exception for this node.");
|
||||
sender.sendMessage(ChatColor.RED + "Node: " + oldPerm.accessLevel);
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
else if (oldPerm.resultType.equals(PermissionCheckResult.Type.NEGATION))
|
||||
{
|
||||
sender.sendMessage(ChatColor.RED + "The " + type + " already has a matching negated node.");
|
||||
sender.sendMessage(ChatColor.RED + "Node: " + oldPerm.accessLevel);
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
else if (oldPerm.resultType.equals(PermissionCheckResult.Type.FOUND))
|
||||
{
|
||||
|
Reference in New Issue
Block a user