1
0
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:
Necrodoom
2014-07-24 12:58:23 +03:00
parent c6dfa741c1
commit a11daafb0d

View File

@@ -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) {