diff --git a/src/main/java/com/gmail/nossr50/party/PartyManager.java b/src/main/java/com/gmail/nossr50/party/PartyManager.java index 17f3fd034..dc013041b 100644 --- a/src/main/java/com/gmail/nossr50/party/PartyManager.java +++ b/src/main/java/com/gmail/nossr50/party/PartyManager.java @@ -191,8 +191,9 @@ public final class PartyManager { public static void removeFromParty(OfflinePlayer player, Party party) { List members = party.getMembers(); - while (members.remove(player.getName())) { + while (members.contains(player.getName())) { // Remove all the duplicates as well + members.remove(player.getName()); } if (members.isEmpty()) {