mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-11-03 18:43:43 +01:00 
			
		
		
		
	Make /party kick case insensitive (#4630)
This commit is contained in:
		@@ -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) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user