Skip to content

Commit

Permalink
fix: path conflict in setdestination command description (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
SrBedrock authored Mar 7, 2023
1 parent 064c6af commit ce470e3
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,15 +185,15 @@ public void editConfig(CommandSender sender,
@Subcommand("%setdestination|setdestination")
@CommandPermission("titansbattle.setdestination")
@CommandCompletion("@games @destinations|ARENA_ENTRANCE")
@Description("{@@command.description.setdestination}")
@Description("{@@command.description.setdestination.game}")
public void setDestination(Player player, @Values("@games") GameConfiguration game, @Values("@destinations") Destination destination) {
ConfigCommands.this.setDestination(player, game, destination);
}

@Subcommand("%setdestination|setdestination")
@CommandPermission("titansbattle.setdestination")
@CommandCompletion("@games @destinations|ARENA_ENTRANCE @range:1-2")
@Description("{@@command.description.setdestination}")
@Description("{@@command.description.setdestination.game}")
public void setArenaEntrance(Player player,
@Values("@games") GameConfiguration game,
@Values("ARENA_ENTRANCE") String destination,
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/language-en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ command.description.start: "Starts a game"
command.description.kick: "Kicks a player from a game"
command.description.cancel: "Cancels a game"
command.description.setdestination.general: "Sets the general exit for games"
command.description.setdestination: "Sets a destination for a game"
command.description.setdestination.game: "Sets a destination for a game"
command.description.reload: "Reloads the plugin and its config"
command.description.setkit: "Sets your inventory as the kit for a game"
command.description.join: "Joins the current game"
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/language-pl_PL.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ command.description.start: "Rozpoczyna grę"
command.description.kick: "Wyprasza gracza z gry"
command.description.cancel: "Anuluje grę"
command.description.setdestination.general: "Ustawia ogólne wyjście dla gier"
command.description.setdestination: "Ustawia cel gry"
command.description.setdestination.game: "Ustawia cel gry"
command.description.reload: "Przeładowuje wtyczkę oraz jej konfigurację"
command.description.setkit: "Ustawia Twój ekwipunek jak zestaw dla gry"
command.description.join: "Dołącza do bieżącej gry"
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/language-pt_BR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ command.description.start: "Inicia um jogo"
command.description.kick: "Expulsa um jogador de um jogo"
command.description.cancel: "Cancela um jogo"
command.description.setdestination.general: "Define a saída geral dos jogos"
command.description.setdestination: "Define uma destino para um jogo"
command.description.setdestination.game: "Define uma destino para um jogo"
command.description.reload: "Recarrega o plugin e suas configurações"
command.description.setkit: "Define seu inventário como o kit de um jogo"
command.description.join: "Entra no jogo atual"
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/language-ru.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ command.description.start: "Начать игру"
command.description.kick: "Исключить игрока из игры"
command.description.cancel: "Отменить игру"
command.description.setdestination.general: "Установить главный выход для игр"
command.description.setdestination: "Установить место назначения для игры"
command.description.setdestination.game: "Установить место назначения для игры"
command.description.reload: "Перезагрузить плагин и его конфигурацию"
command.description.setkit: "Установить ваш инвентарь в качестве набора игры"
command.description.join: "Присоединиться к текущей игре"
Expand Down

0 comments on commit ce470e3

Please sign in to comment.