mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 05:06:45 +01:00
Make /party kick case insensitive (#4630)
This commit is contained in:
parent
5575309b79
commit
1e43e34547
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user