Adds missing commands, and improves permissions

This commit is contained in:
2023-04-15 18:47:02 +02:00
parent 904761ba4e
commit 31b22c7e56
3 changed files with 150 additions and 28 deletions

View File

@ -28,7 +28,6 @@ public class EditParkourArenaCommand implements CommandExecutor {
@Override
public boolean onCommand(@NotNull CommandSender commandSender, @NotNull Command command, @NotNull String s,
@NotNull String[] arguments) {
//TODO: Checkpoints are quite different from everything else, so some custom code is needed for dealing with them
if (!(commandSender instanceof Player player)) {
commandSender.sendMessage("This command must be used by a player");
return false;