From 53db8c5928f41774d067c79314c821dfca4beaf7 Mon Sep 17 00:00:00 2001 From: HeroCC Date: Fri, 9 Sep 2016 16:39:13 -0400 Subject: [PATCH] Fix PermissionsEx false node migration PermissionsEx false nodes begin with a '-' not a '!' --- .../migration/subcommands/MigrationPermissionsEx.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/src/main/java/me/lucko/luckperms/commands/migration/subcommands/MigrationPermissionsEx.java b/common/src/main/java/me/lucko/luckperms/commands/migration/subcommands/MigrationPermissionsEx.java index 0df7363cc..1e7ad3490 100644 --- a/common/src/main/java/me/lucko/luckperms/commands/migration/subcommands/MigrationPermissionsEx.java +++ b/common/src/main/java/me/lucko/luckperms/commands/migration/subcommands/MigrationPermissionsEx.java @@ -118,7 +118,7 @@ public class MigrationPermissionsEx extends SubCommand { try { for (String node : group.getOwnPermissions(null)) { boolean value = true; - if (node.startsWith("!")) { + if (node.startsWith("-")) { node = node.substring(1); value = false; } @@ -143,7 +143,7 @@ public class MigrationPermissionsEx extends SubCommand { for (String world : worlds) { for (String node : group.getOwnPermissions(world)) { boolean value = true; - if (node.startsWith("!")) { + if (node.startsWith("-")) { node = node.substring(1); value = false; } @@ -262,7 +262,7 @@ public class MigrationPermissionsEx extends SubCommand { try { for (String node : user.getOwnPermissions(null)) { boolean value = true; - if (node.startsWith("!")) { + if (node.startsWith("-")) { node = node.substring(1); value = false; } @@ -287,7 +287,7 @@ public class MigrationPermissionsEx extends SubCommand { for (String world : worlds) { for (String node : user.getOwnPermissions(world)) { boolean value = true; - if (node.startsWith("!")) { + if (node.startsWith("-")) { node = node.substring(1); value = false; }