mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-02-04 22:41:33 +01:00
Merge pull request #327 from necrodoom/patch-52
add missing return false in manudelp
This commit is contained in:
commit
33382f9940
@ -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]);
|
||||||
|
Loading…
Reference in New Issue
Block a user