summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElgarL <ElgarL@palmergames.com>2014-07-24 13:38:00 +0100
committerElgarL <ElgarL@palmergames.com>2014-07-24 13:38:00 +0100
commit4fb96aa586370ff0dd3ca87c0799b657e33e74bd (patch)
tree1c85d13615ffde3bc55a21ae86857794485c23fe
parentc6dfa741c1ee8b34751f1543f2a4d1e8518fc4a0 (diff)
parenta11daafb0df73772ba50eb41080a01636cba9f97 (diff)
downloadEssentials-4fb96aa586370ff0dd3ca87c0799b657e33e74bd.tar
Essentials-4fb96aa586370ff0dd3ca87c0799b657e33e74bd.tar.gz
Essentials-4fb96aa586370ff0dd3ca87c0799b657e33e74bd.tar.lz
Essentials-4fb96aa586370ff0dd3ca87c0799b657e33e74bd.tar.xz
Essentials-4fb96aa586370ff0dd3ca87c0799b657e33e74bd.zip
Merge pull request #740 from necrodoom/patch-119
Remove null check
-rw-r--r--EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java b/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java
index 39dcb64c1..c9233b358 100644
--- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java
+++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java
@@ -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) {