mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-27 21:29:47 +01:00
Fix bug in Sponge PermissionServiceProxy
This commit is contained in:
parent
e6cc817436
commit
65a4c67745
@ -151,7 +151,7 @@ public final class PermissionServiceProxy implements PermissionAndContextService
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Set<Context> contextsFor(Cause cause) {
|
public Set<Context> contextsFor(Cause cause) {
|
||||||
return CompatibilityUtil.convertContexts(this.handle.getContextsForCurrentCause());
|
return CompatibilityUtil.convertContexts(this.handle.getContextsForCause(cause));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user