mirror of
https://github.com/SunNetservers/MiniGames.git
synced 2024-12-05 00:43:15 +01:00
Fixes some incorrect command usage descriptions
This commit is contained in:
parent
776fc5a757
commit
e52732433a
@ -39,7 +39,6 @@ public class CreateDropperArenaCommand implements CommandExecutor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
DropperArenaHandler arenaHandler = MiniGames.getInstance().getDropperArenaHandler();
|
DropperArenaHandler arenaHandler = MiniGames.getInstance().getDropperArenaHandler();
|
||||||
|
|
||||||
DropperArena existingArena = arenaHandler.getArena(arenaName);
|
DropperArena existingArena = arenaHandler.getArena(arenaName);
|
||||||
if (existingArena != null) {
|
if (existingArena != null) {
|
||||||
MiniGames.getInstance().getStringFormatter().displayErrorMessage(commandSender,
|
MiniGames.getInstance().getStringFormatter().displayErrorMessage(commandSender,
|
||||||
|
@ -40,7 +40,6 @@ public class CreateParkourArenaCommand implements CommandExecutor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ParkourArenaHandler arenaHandler = MiniGames.getInstance().getParkourArenaHandler();
|
ParkourArenaHandler arenaHandler = MiniGames.getInstance().getParkourArenaHandler();
|
||||||
|
|
||||||
ParkourArena existingArena = arenaHandler.getArena(arenaName);
|
ParkourArena existingArena = arenaHandler.getArena(arenaName);
|
||||||
if (existingArena != null) {
|
if (existingArena != null) {
|
||||||
stringFormatter.displayErrorMessage(commandSender, MiniGameMessage.ERROR_ARENA_NAME_COLLISION);
|
stringFormatter.displayErrorMessage(commandSender, MiniGameMessage.ERROR_ARENA_NAME_COLLISION);
|
||||||
|
@ -82,15 +82,15 @@ commands:
|
|||||||
aliases:
|
aliases:
|
||||||
- dcreate
|
- dcreate
|
||||||
permission: minigames.create.dropper
|
permission: minigames.create.dropper
|
||||||
usage: |
|
usage: /<command> <arena>
|
||||||
/<command> <arena> <property> [new value]
|
|
||||||
- Valid properties: name, spawnLocation, exitLocation, verticalVelocity, horizontalVelocity, winBlockType
|
|
||||||
description: Used to create a new dropper arena
|
description: Used to create a new dropper arena
|
||||||
dropperEdit:
|
dropperEdit:
|
||||||
aliases:
|
aliases:
|
||||||
- dedit
|
- dedit
|
||||||
permission: minigames.edit.dropper
|
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
|
description: Used to edit an existing dropper arena
|
||||||
dropperRemove:
|
dropperRemove:
|
||||||
aliases:
|
aliases:
|
||||||
@ -143,15 +143,15 @@ commands:
|
|||||||
aliases:
|
aliases:
|
||||||
- pcreate
|
- pcreate
|
||||||
permission: minigames.create.parkour
|
permission: minigames.create.parkour
|
||||||
usage: |
|
usage: /<command> <arena>
|
||||||
/<command> <arena> <property> [new value]
|
|
||||||
- Valid properties: name, spawnLocation, exitLocation, winBlockType, winLocation, checkpointAdd, checkpointClear, killPlaneBlocks
|
|
||||||
description: Used to create a new parkour arena
|
description: Used to create a new parkour arena
|
||||||
parkourEdit:
|
parkourEdit:
|
||||||
aliases:
|
aliases:
|
||||||
- pedit
|
- pedit
|
||||||
permission: minigames.edit.parkour
|
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
|
description: Used to edit an existing parkour arena
|
||||||
parkourRemove:
|
parkourRemove:
|
||||||
aliases:
|
aliases:
|
||||||
|
Loading…
Reference in New Issue
Block a user