Fix missing translation param in ice command

This commit is contained in:
Josh Roy 2021-06-27 09:22:52 -04:00 committed by MD
parent c18830ce75
commit e7e3f58c8f
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ public class Commandice extends EssentialsLoopCommand {
@Override
protected void updatePlayer(Server server, CommandSource sender, User user, String[] args) throws NotEnoughArgumentsException, PlayerExemptException, ChargeException, MaxMoneyException {
freezePlayer(user);
user.sendMessage(tl("iceOther"));
user.sendMessage(tl("iceOther", user.getDisplayName()));
}
private void freezePlayer(final IUser user) {