1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2026-02-17 17:32:36 +01:00

Make /party kick case insensitive (#4630)

This commit is contained in:
Warrior
2021-09-22 23:59:39 +02:00
committed by GitHub
parent 5575309b79
commit 1e43e34547

View File

@@ -327,7 +327,7 @@ public class Party {
}
public boolean hasMember(String memberName) {
return this.getMembers().containsValue(memberName);
return this.getMembers().values().stream().anyMatch(memberName::equalsIgnoreCase);
}
public boolean hasMember(UUID uuid) {