Cleanup various message localisations, limit the size of the PermissionRegistry

This commit is contained in:
Luck
2018-06-19 22:27:43 +01:00
Unverified
parent 2036127612
commit 379eb00b69
93 changed files with 701 additions and 433 deletions
@@ -94,8 +94,6 @@ public final class DescriptionBuilder implements PermissionDescription.Builder {
roleSubject.getTransientSubjectData().setPermission(ContextSet.empty(), this.id, assignment.getValue());
}
this.service.getPlugin().getPermissionRegistry().offer(this.id);
// null stuff so this instance can be reused
this.roles.clear();
this.id = null;