From 2f05c472ce8c467711c6f426d7da77504aa834d9 Mon Sep 17 00:00:00 2001 From: TfT_02 Date: Mon, 10 Feb 2014 17:14:34 +0100 Subject: [PATCH] Make party names case insensitive Fixes #1846 --- src/main/java/com/gmail/nossr50/party/PartyManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/party/PartyManager.java b/src/main/java/com/gmail/nossr50/party/PartyManager.java index c6953afa8..2f51aaf45 100644 --- a/src/main/java/com/gmail/nossr50/party/PartyManager.java +++ b/src/main/java/com/gmail/nossr50/party/PartyManager.java @@ -170,7 +170,7 @@ public final class PartyManager { */ public static Party getParty(String partyName) { for (Party party : parties) { - if (party.getName().equals(partyName)) { + if (party.getName().equalsIgnoreCase(partyName)) { return party; } }