mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-09-03 18:00:25 +02:00
Fix inherited permissions not applying on Sponge
This commit is contained in:
parent
23df8a2df8
commit
ed85eee36c
|
@ -130,7 +130,7 @@ public class LuckPermsSubject implements Subject {
|
|||
context.put(c.getKey(), c.getValue());
|
||||
}
|
||||
|
||||
me.lucko.luckperms.api.Tristate t = enduringData.getHolder().hasPermission(new me.lucko.luckperms.utils.Node.Builder(node).withExtraContext(context).build());
|
||||
me.lucko.luckperms.api.Tristate t = enduringData.getHolder().inheritsPermission(new me.lucko.luckperms.utils.Node.Builder(node).withExtraContext(context).build());
|
||||
if (t == me.lucko.luckperms.api.Tristate.UNDEFINED) {
|
||||
return Tristate.UNDEFINED;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user