1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-05 14:18:21 +02:00

Merge pull request #740 from necrodoom/patch-119

Remove null check
This commit is contained in:
ElgarL
2014-07-24 13:38:00 +01:00

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