Allows both any and all for selecting all worlds for permission targets
This commit is contained in:
parent
495beb970c
commit
502f507d0c
@ -91,7 +91,7 @@ public final class PermissionManager {
|
||||
private static void grantWorldPermission(Player player, String permissionNode, boolean temporary) {
|
||||
String[] permissionParts = permissionNode.split(":");
|
||||
String world = permissionParts[0];
|
||||
if (world.equalsIgnoreCase("all")) {
|
||||
if (world.equalsIgnoreCase("all") || world.equalsIgnoreCase("any")) {
|
||||
world = null;
|
||||
}
|
||||
if (temporary) {
|
||||
|
Loading…
Reference in New Issue
Block a user