This commit is contained in:
parent
cffa6d199e
commit
27dd4a0fcb
1 changed files with 2 additions and 3 deletions
|
@ -141,9 +141,8 @@ public class TextCommands {
|
|||
area=areas.get(i);
|
||||
}
|
||||
}
|
||||
boolean a = has_perm(account.getUniqueId(), "region.*");
|
||||
boolean b = has_perm(account.getUniqueId(), "region."+args[2]);
|
||||
if (a && b && area!=null){
|
||||
boolean a = has_perm(account.getUniqueId(), "region."+args[2]);
|
||||
if (a && area!=null){
|
||||
switch (args[2]){
|
||||
case "enabled":
|
||||
if (args.length==4){
|
||||
|
|
Loading…
Reference in a new issue