mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-28 13:45:20 +01:00
fix option lookups in specific contexts returning as global instead
This commit is contained in:
parent
c837dd5cc8
commit
1d71ec07be
@ -145,7 +145,7 @@ public interface LPSubject extends Subject {
|
|||||||
@Deprecated
|
@Deprecated
|
||||||
@Override
|
@Override
|
||||||
default Optional<String> getOption(@NonNull Set<Context> contexts, @NonNull String key) {
|
default Optional<String> getOption(@NonNull Set<Context> contexts, @NonNull String key) {
|
||||||
return getOption(getActiveContextSet(), key);
|
return getOption(convertContexts(contexts), key);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Deprecated
|
@Deprecated
|
||||||
|
Loading…
Reference in New Issue
Block a user