mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-24 11:38:40 +01:00
Fix compile
This commit is contained in:
parent
6481bac045
commit
8e9683b33f
@ -69,11 +69,6 @@ public class ApiTrack implements net.luckperms.api.track.Track {
|
||||
return this.handle.getGroups();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getSize() {
|
||||
return this.handle.getSize();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getNext(@NonNull Group current) {
|
||||
Objects.requireNonNull(current, "current");
|
||||
|
@ -66,7 +66,7 @@ public final class SubjectProxy implements Subject, ProxiedSubject, ProxiedServi
|
||||
}
|
||||
|
||||
// lazy init
|
||||
private QueryOptionsSupplier getContextsCache() {
|
||||
private QueryOptionsSupplier queryOptionsCache() {
|
||||
if (this.queryOptionsSupplier == null) {
|
||||
this.queryOptionsSupplier = this.service.getContextManager().getCacheFor(this);
|
||||
}
|
||||
@ -160,12 +160,12 @@ public final class SubjectProxy implements Subject, ProxiedSubject, ProxiedServi
|
||||
|
||||
@Override
|
||||
public @NonNull Set<Context> getActiveContexts() {
|
||||
return CompatibilityUtil.convertContexts(getContextsCache().getContextSet());
|
||||
return CompatibilityUtil.convertContexts(queryOptionsCache().getContextSet());
|
||||
}
|
||||
|
||||
@Override
|
||||
public ImmutableContextSet getActiveContextSet() {
|
||||
return getContextsCache().getContextSet();
|
||||
return queryOptionsCache().getContextSet();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user