Make party names case insensitive

Fixes #1846
This commit is contained in:
TfT_02 2014-02-10 17:14:34 +01:00
parent 5c836cdaaf
commit 2f05c472ce

View File

@ -170,7 +170,7 @@ public final class PartyManager {
*/ */
public static Party getParty(String partyName) { public static Party getParty(String partyName) {
for (Party party : parties) { for (Party party : parties) {
if (party.getName().equals(partyName)) { if (party.getName().equalsIgnoreCase(partyName)) {
return party; return party;
} }
} }