mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-11 17:15:07 +02:00
Merge pull request #327 from necrodoom/patch-52
add missing return false in manudelp
This commit is contained in:
@@ -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]);
|
||||||
|
Reference in New Issue
Block a user