/as setteleport: fix check that hides it from `/as help`
This commit is contained in:
parent
1035b6b41b
commit
d7cdff0b22
|
@ -20,7 +20,7 @@ public class SetteleportCommand extends CommandAreaShop {
|
|||
|
||||
@Override
|
||||
public String getHelp(CommandSender target) {
|
||||
if(target.hasPermission("areashop.teleportall") || target.hasPermission("areashop.teleport")) {
|
||||
if(target.hasPermission("areashop.setteleportall") || target.hasPermission("areashop.setteleport")) {
|
||||
return "help-setteleport";
|
||||
}
|
||||
return null;
|
||||
|
|
Loading…
Reference in New Issue