mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-06 06:37:28 +02:00
Allow 'manucheckp' to notify when superperms reports false but it is
really negated.
This commit is contained in:
@@ -183,3 +183,4 @@ v 2.0:
|
|||||||
- Re-initialize the WorldsHolder on a reload, as un-registering and re-registering a new holder means all plugins have to check for the new service on every quiery.
|
- Re-initialize the WorldsHolder on a reload, as un-registering and re-registering a new holder means all plugins have to check for the new service on every quiery.
|
||||||
- Prevent null perms getting past the GlobalGroups loader.
|
- Prevent null perms getting past the GlobalGroups loader.
|
||||||
- Fix forgetting sub groups on a manload.
|
- Fix forgetting sub groups on a manload.
|
||||||
|
- Allow 'manucheckp' to notify when superperms reports false but it is really negated.
|
@@ -921,7 +921,7 @@ public class GroupManager extends JavaPlugin {
|
|||||||
|
|
||||||
// superperms
|
// superperms
|
||||||
if (targetPlayer != null) {
|
if (targetPlayer != null) {
|
||||||
sender.sendMessage(ChatColor.YELLOW + "SuperPerms reports Node: " + targetPlayer.hasPermission(args[1]));
|
sender.sendMessage(ChatColor.YELLOW + "SuperPerms reports Node: " + targetPlayer.hasPermission(args[1]) + ((!targetPlayer.hasPermission(args[1]) && targetPlayer.isPermissionSet(args[1])) ? " (Negated)": ""));
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Reference in New Issue
Block a user