1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-02-24 16:32:35 +01:00

Merge pull request #327 from necrodoom/patch-52

add missing return false in manudelp
This commit is contained in:
ElgarL 2013-02-12 06:49:27 -08:00
commit 074a88d9aa

View File

@ -1263,6 +1263,7 @@ public class GroupManager extends JavaPlugin {
// Validating permission // Validating permission
if (!auxUser.getVariables().hasVar(args[1])) { if (!auxUser.getVariables().hasVar(args[1])) {
sender.sendMessage(ChatColor.RED + "The user doesn't have directly that variable!"); sender.sendMessage(ChatColor.RED + "The user doesn't have directly that variable!");
return false;
} }
// Seems OK // Seems OK
auxUser.getVariables().removeVar(args[1]); auxUser.getVariables().removeVar(args[1]);