Fix missing param in translation

This commit is contained in:
fullwall 2012-10-21 20:34:21 +08:00
parent f6f69c32a4
commit 02e2232cd4

View File

@ -213,7 +213,7 @@ public class NPCCommands {
Controllable trait = npc.getTrait(Controllable.class); Controllable trait = npc.getTrait(Controllable.class);
boolean enabled = trait.toggle(); boolean enabled = trait.toggle();
String key = enabled ? Messages.CONTROLLABLE_SET : Messages.CONTROLLABLE_REMOVED; String key = enabled ? Messages.CONTROLLABLE_SET : Messages.CONTROLLABLE_REMOVED;
Messaging.sendTr(sender, key); Messaging.sendTr(sender, key, npc.getName());
} }
@Command( @Command(