Fix f who issue with looking up offline players. Fixes issue #8

This commit is contained in:
drtshock
2014-05-19 13:03:26 -05:00
parent 9a7ecf33a7
commit 28afd6530c
3 changed files with 6 additions and 6 deletions

View File

@@ -133,6 +133,7 @@ public class Factions extends EntityCollection<Faction> {
return errors;
}
// Loops through all faction tags. Case and color insensitive.
public Faction getByTag(String str) {
String compStr = MiscUtil.getComparisonString(str);
for (Faction faction : this.get()) {