Register Sponge PermDescriptions to the LP permission registry

This commit is contained in:
Luck
2018-04-03 21:56:15 +01:00
Unverified
parent 7684ac5d3a
commit f33c540efb
25 changed files with 62 additions and 62 deletions
@@ -94,7 +94,7 @@ public final class DescriptionBuilder implements PermissionDescription.Builder {
roleSubject.getTransientSubjectData().setPermission(ContextSet.empty(), this.id, assignment.getValue());
}
this.service.getPlugin().getPermissionVault().offer(this.id);
this.service.getPlugin().getPermissionRegistry().offer(this.id);
// null stuff so this instance can be reused
this.roles.clear();