fix playerHas for Starburst

This commit is contained in:
Sleaker 2012-01-15 13:28:56 -08:00
parent 0adaac8cb6
commit 319d1d4f49

View File

@ -102,7 +102,7 @@ public class Permission_Starburst extends Permission {
return false;
}
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