diff --git a/bukkit/src/main/java/me/lucko/luckperms/bukkit/migration/MigrationZPermissions.java b/bukkit/src/main/java/me/lucko/luckperms/bukkit/migration/MigrationZPermissions.java index bb3304b37..9cb2c5979 100644 --- a/bukkit/src/main/java/me/lucko/luckperms/bukkit/migration/MigrationZPermissions.java +++ b/bukkit/src/main/java/me/lucko/luckperms/bukkit/migration/MigrationZPermissions.java @@ -150,9 +150,9 @@ public class MigrationZPermissions extends SubCommand { private void migrateEntity(PermissionHolder holder, PermissionEntity entity, List memberships) { for (Entry e : entity.getPermissions()) { if (e.getWorld() != null && !e.getWorld().getName().equals("")) { - holder.setPermission(MigrationUtils.parseNode(e.getPermission(), true).setWorld(e.getWorld().getName()).build()); + holder.setPermission(NodeFactory.newBuilder(e.getPermission()).setValue(e.isValue()).setWorld(e.getWorld().getName()).build()); } else { - holder.setPermission(MigrationUtils.parseNode(e.getPermission(), true).build()); + holder.setPermission(NodeFactory.newBuilder(e.getPermission()).setValue(e.isValue()).build()); } }