mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-30 14:43:54 +01:00
Fix missing param in translation
This commit is contained in:
parent
f6f69c32a4
commit
02e2232cd4
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user