1
0
mirror of https://github.com/lucko/LuckPerms.git synced 2025-09-08 21:30:55 +02:00

fix option lookups in specific contexts returning as global instead

This commit is contained in:
Luck
2017-02-03 17:18:18 +00:00
parent c837dd5cc8
commit 1d71ec07be

View File

@@ -145,7 +145,7 @@ public interface LPSubject extends Subject {
@Deprecated
@Override
default Optional<String> getOption(@NonNull Set<Context> contexts, @NonNull String key) {
return getOption(getActiveContextSet(), key);
return getOption(convertContexts(contexts), key);
}
@Deprecated