mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-24 11:44:24 +00:00
Refactor MetaAccumulator to be a little more sane
This commit is contained in:
6 files changed
+83
-53
No files matched your search
@@ -362,6 +362,7 @@ public class HolderSubjectData implements LPSubjectData {
|
||||
));
|
||||
|
||||
MetaAccumulator metaAccumulator = this.holder.accumulateMeta(null, Contexts.of(contexts, Contexts.global().getSettings()));
|
||||
metaAccumulator.complete();
|
||||
int priority = metaAccumulator.getChatMeta(type).keySet().stream().mapToInt(e -> e).max().orElse(0);
|
||||
priority += 10;
|
||||
|
||||
|
||||
Reference in new issue
Block a user