Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Commit

Permalink
CommandTicTacToe: fix run command alias on hover
Browse files Browse the repository at this point in the history
  • Loading branch information
TheFaser committed Oct 7, 2023
1 parent a4ecc95 commit 8c8bc85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/flectone/commands/CommandTicTacToe.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public boolean onCommand(@NotNull CommandSender commandSender, @NotNull Command
String hoverMessage = locale.getFormatString("command.tic-tac-toe.hover-message", secondFPlayer.getPlayer());

FComponent textComponent = new FComponent(getMessage)
.addRunCommand("/ttt " + ticTacToe.getUuid() + " yes")
.addRunCommand("/tic-tac-toe " + ticTacToe.getUuid() + " yes")
.addHoverText(hoverMessage);

secondFPlayer.getPlayer().spigot().sendMessage(textComponent.get());
Expand Down

0 comments on commit 8c8bc85

Please sign in to comment.