Permalink
Browse files

Update permission API.

  • Loading branch information...
me4502 committed Aug 16, 2017
1 parent c9654c6 commit 6c8e78ffd0e2db4c1c063d43903cca5b5589b2c2
@@ -45,7 +45,7 @@ public void register() {
return;
}
PermissionDescription.Builder permissionBuilder = provider.getProvider().newDescriptionBuilder(CraftBookPlugin.inst()).get();
PermissionDescription.Builder permissionBuilder = provider.getProvider().newDescriptionBuilder(CraftBookPlugin.inst());
permissionDescription = permissionBuilder.id(getNode()).description(Text.of(getDescription())).assign(getDefaultRole(), true).register();
}

0 comments on commit 6c8e78f

Please sign in to comment.