Add missing p flag to the annotation

This commit is contained in:
fullwall 2019-12-02 11:28:34 +08:00
parent 0d558c8ee1
commit 7715232bb3

View File

@ -282,7 +282,7 @@ public class NPCCommands {
desc = "Controls commands which will be run when clicking on an NPC",
modifiers = { "command", "cmd" },
min = 1,
flags = "lr",
flags = "lrp",
permission = "citizens.npc.command")
public void command(CommandContext args, CommandSender sender, NPC npc) throws CommandException {
CommandTrait commands = npc.getTrait(CommandTrait.class);