Skip to content

Commit

Permalink
Fix foreach/etc error
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Jan 21, 2016
1 parent cf3ea87 commit e571f05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/aufdemrand/denizencore/objects/aH.java
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public Argument getPrefix() {
// TODO: REMOVE IN 1.0
public boolean matches(String values) {
for (String value : CoreUtilities.split(values, ',')) {
if (CoreUtilities.toLowerCase(value.trim()).equals(lower_value)) {
if (CoreUtilities.toLowerCase(value.replace(" ", "")).equals(lower_value)) {
return true;
}
}
Expand Down

0 comments on commit e571f05

Please sign in to comment.