Fixes some incorrect command usage descriptions

This commit is contained in:
Kristian Knarvik 2023-07-31 23:01:03 +02:00
parent 776fc5a757
commit e52732433a
3 changed files with 8 additions and 10 deletions

View File

@ -39,7 +39,6 @@ public class CreateDropperArenaCommand implements CommandExecutor {
}
DropperArenaHandler arenaHandler = MiniGames.getInstance().getDropperArenaHandler();
DropperArena existingArena = arenaHandler.getArena(arenaName);
if (existingArena != null) {
MiniGames.getInstance().getStringFormatter().displayErrorMessage(commandSender,

View File

@ -40,7 +40,6 @@ public class CreateParkourArenaCommand implements CommandExecutor {
}
ParkourArenaHandler arenaHandler = MiniGames.getInstance().getParkourArenaHandler();
ParkourArena existingArena = arenaHandler.getArena(arenaName);
if (existingArena != null) {
stringFormatter.displayErrorMessage(commandSender, MiniGameMessage.ERROR_ARENA_NAME_COLLISION);

View File

@ -82,15 +82,15 @@ commands:
aliases:
- dcreate
permission: minigames.create.dropper
usage: |
/<command> <arena> <property> [new value]
- Valid properties: name, spawnLocation, exitLocation, verticalVelocity, horizontalVelocity, winBlockType
usage: /<command> <arena>
description: Used to create a new dropper arena
dropperEdit:
aliases:
- dedit
permission: minigames.edit.dropper
usage: /<command> (Details not finalized)
usage: |
/<command> <arena> <property> [new value]
- Valid properties: name, spawnLocation, exitLocation, verticalVelocity, horizontalVelocity, winBlockType
description: Used to edit an existing dropper arena
dropperRemove:
aliases:
@ -143,15 +143,15 @@ commands:
aliases:
- pcreate
permission: minigames.create.parkour
usage: |
/<command> <arena> <property> [new value]
- Valid properties: name, spawnLocation, exitLocation, winBlockType, winLocation, checkpointAdd, checkpointClear, killPlaneBlocks
usage: /<command> <arena>
description: Used to create a new parkour arena
parkourEdit:
aliases:
- pedit
permission: minigames.edit.parkour
usage: /<command> (Details not finalized)
usage: |
/<command> <arena> <property> [new value]
- Valid properties: name, spawnLocation, exitLocation, winBlockType, winLocation, checkpointAdd, checkpointClear, killPlaneBlocks
description: Used to edit an existing parkour arena
parkourRemove:
aliases: