mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-22 17:18:37 +01:00
Translate Gamemode placeholder in cantGamemode message (#5771)
This commit is contained in:
parent
6a2527ccdb
commit
549283a1e5
@ -55,7 +55,7 @@ public class Commandgamemode extends EssentialsLoopCommand {
|
||||
}
|
||||
|
||||
if (isProhibitedChange(user, gameMode)) {
|
||||
user.sendTl("cantGamemode", gameMode.name());
|
||||
user.sendTl("cantGamemode", user.playerTl(gameMode.toString().toLowerCase(Locale.ENGLISH)));
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user