Merge pull request #188 from silicondev/patch-1

Fixed issue where help menu appears on successful warp
This commit is contained in:
Sekwah 2020-04-20 20:25:08 +01:00 committed by GitHub
commit bfcb2d596e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -77,9 +77,10 @@ public class AdvancedPortalsCommand implements CommandExecutor, TabCompleter {
break;
}
}
} else if (args.length == 1 && player.hasPermission("advancedportals.portal.warp") {
sendMenu(player, "Help Menu: Warp",
"\u00A76/" + command + " warp <name> \u00A7a- teleport to warp name");
}
sendMenu(player, "Help Menu: Warp",
"\u00A76/" + command + " warp <name> \u00A7a- teleport to warp name");
break;
case "wand":
case "selector":