Fix Flag GUI toggle. Fixes #84

This commit is contained in:
bloodshot 2019-12-21 20:26:34 -05:00
parent 7aeb9f1333
commit eec002a377
2 changed files with 2 additions and 2 deletions

View File

@ -691,7 +691,7 @@ public Tristate getPermissionValueWithRequiredContexts(GDClaim claim, GDPermissi
// Check for required contexts
for (Context context : contexts) {
if (!context.getKey().contains(contextFilter)) {
if (!context.getKey().contains(contextFilter) && !context.getKey().equalsIgnoreCase("world")) {
if (!entry.getKey().contains(context)) {
match = false;
break;

View File

@ -686,7 +686,7 @@ public Tristate getPermissionValueWithRequiredContexts(GDClaim claim, GDPermissi
// Check for required contexts
for (Context context : contexts) {
if (!context.getKey().contains(contextFilter)) {
if (!context.getKey().contains(contextFilter) && !context.getKey().equalsIgnoreCase("world")) {
if (!entry.getKey().contains(context)) {
match = false;
break;