use of me.lucko.luckperms.common.processors.PermissionProcessor in project LuckPerms by lucko.
the class PermissionCalculator method setSourcePermissions.
/**
* Defines the source permissions map which should be used when calculating
* a result.
*
* @param sourceMap the source map
*/
public synchronized void setSourcePermissions(Map<String, Boolean> sourceMap) {
for (PermissionProcessor processor : this.processors) {
processor.setSource(sourceMap);
processor.refresh();
}
}
Aggregations