diff options
author | ElgarL <ElgarL@palmergames.com> | 2014-07-24 13:38:00 +0100 |
---|---|---|
committer | ElgarL <ElgarL@palmergames.com> | 2014-07-24 13:38:00 +0100 |
commit | 4fb96aa586370ff0dd3ca87c0799b657e33e74bd (patch) | |
tree | 1c85d13615ffde3bc55a21ae86857794485c23fe | |
parent | c6dfa741c1ee8b34751f1543f2a4d1e8518fc4a0 (diff) | |
parent | a11daafb0df73772ba50eb41080a01636cba9f97 (diff) | |
download | Essentials-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.java | 2 |
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) { |