mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-10 00:28:22 +02:00
Remove null check
Match can never be null
This commit is contained in:
@@ -2223,7 +2223,7 @@ public class GroupManager extends JavaPlugin {
|
||||
}
|
||||
}
|
||||
|
||||
if (match.isEmpty() || match == null) {
|
||||
if (match.isEmpty()) {
|
||||
sender.sendMessage(ChatColor.RED + "Player not found!");
|
||||
return null;
|
||||
} else if (match.size() > 1) {
|
||||
|
Reference in New Issue
Block a user