Ensure translatable placeholders for gamemode in cantGamemode key
This commit is contained in:
parent
c60ed56190
commit
c8e6ef1163
|
@ -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