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)) {
|
if (isProhibitedChange(user, gameMode)) {
|
||||||
user.sendTl("cantGamemode", gameMode.name());
|
user.sendTl("cantGamemode", user.playerTl(gameMode.toString().toLowerCase(Locale.ENGLISH)));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue