summaryrefslogtreecommitdiffstats
path: root/EssentialsGroupManager
diff options
context:
space:
mode:
authorNecrodoom <doomed.war@gmail.com>2013-02-12 16:47:39 +0200
committerNecrodoom <doomed.war@gmail.com>2013-02-12 16:47:39 +0200
commit1d0c2f75dc242ace3f2140c57cb5e9e549e94ea3 (patch)
tree3ff727c373b0d3d6c2bdf462ead5128da8469d7a /EssentialsGroupManager
parentfcfa3ce31d92ed7a7d1d336f74c1e1b3a81004fd (diff)
downloadEssentials-1d0c2f75dc242ace3f2140c57cb5e9e549e94ea3.tar
Essentials-1d0c2f75dc242ace3f2140c57cb5e9e549e94ea3.tar.gz
Essentials-1d0c2f75dc242ace3f2140c57cb5e9e549e94ea3.tar.lz
Essentials-1d0c2f75dc242ace3f2140c57cb5e9e549e94ea3.tar.xz
Essentials-1d0c2f75dc242ace3f2140c57cb5e9e549e94ea3.zip
add missing return false;
Diffstat (limited to 'EssentialsGroupManager')
-rw-r--r--EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java b/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java
index 14006bf75..c395b9eec 100644
--- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java
+++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java
@@ -1263,6 +1263,7 @@ public class GroupManager extends JavaPlugin {
// Validating permission
if (!auxUser.getVariables().hasVar(args[1])) {
sender.sendMessage(ChatColor.RED + "The user doesn't have directly that variable!");
+ return false;
}
// Seems OK
auxUser.getVariables().removeVar(args[1]);