Skip to content

Commit 4fb96aa

Browse files
committed
Merge pull request #740 from necrodoom/patch-119
Remove null check
2 parents c6dfa74 + a11daaf commit 4fb96aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2223,7 +2223,7 @@ private List<String> validatePlayer(String playerName, CommandSender sender) {
22232223
}
22242224
}
22252225

2226-
if (match.isEmpty() || match == null) {
2226+
if (match.isEmpty()) {
22272227
sender.sendMessage(ChatColor.RED + "Player not found!");
22282228
return null;
22292229
} else if (match.size() > 1) {

0 commit comments

Comments
 (0)