Skip to content

Commit

Permalink
Translate Gamemode placeholder in cantGamemode message (#5771)
Browse files Browse the repository at this point in the history
  • Loading branch information
ImDarkLaw authored Apr 28, 2024
1 parent 6a2527c commit 549283a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ protected void run(final Server server, final User user, final String commandLab
}

if (isProhibitedChange(user, gameMode)) {
user.sendTl("cantGamemode", gameMode.name());
user.sendTl("cantGamemode", user.playerTl(gameMode.toString().toLowerCase(Locale.ENGLISH)));
return;
}

Expand Down

0 comments on commit 549283a

Please sign in to comment.