mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
This makes it easier to read
This commit is contained in:
parent
682c2631f0
commit
062a3028f4
@ -191,8 +191,9 @@ public final class PartyManager {
|
||||
public static void removeFromParty(OfflinePlayer player, Party party) {
|
||||
List<String> 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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user