mirror of
https://github.com/MilkBowl/Vault.git
synced 2025-01-15 04:31:21 +01:00
fix playerHas for Starburst
This commit is contained in:
parent
0adaac8cb6
commit
319d1d4f49
@ -102,7 +102,7 @@ public class Permission_Starburst extends Permission {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
Map<String, Boolean> effective = g.aggregatePermissions();
|
Map<String, Boolean> effective = g.aggregatePermissions();
|
||||||
return effective.containsKey(permission) ? effective.get(permission) : false;
|
return effective.containsKey(permission.toLowerCase()) ? effective.get(permission.toLowerCase()) : false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user