Fix bug in Sponge PermissionServiceProxy

This commit is contained in:
Luck 2022-05-19 18:12:42 +01:00
parent e6cc817436
commit 65a4c67745
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -151,7 +151,7 @@ public final class PermissionServiceProxy implements PermissionAndContextService
@Override
public Set<Context> contextsFor(Cause cause) {
return CompatibilityUtil.convertContexts(this.handle.getContextsForCurrentCause());
return CompatibilityUtil.convertContexts(this.handle.getContextsForCause(cause));
}
@Override