Fix CITIZENS-403
This commit is contained in:
parent
dca3541341
commit
cea26b3db0
|
@ -487,6 +487,18 @@ public class NPCCommands {
|
|||
Messaging.sendTr(sender, key, npc.getName());
|
||||
}
|
||||
|
||||
@Command(
|
||||
aliases = { "npc" },
|
||||
usage = "id",
|
||||
desc = "Sends the selected NPC's ID to the sender",
|
||||
modifiers = { "id" },
|
||||
min = 1,
|
||||
max = 1,
|
||||
permission = "npc.id")
|
||||
public void id(CommandContext args, CommandSender sender, NPC npc) {
|
||||
Messaging.send(sender, npc.getId());
|
||||
}
|
||||
|
||||
@Command(
|
||||
aliases = { "npc" },
|
||||
usage = "list (page) ((-a) --owner (owner) --type (type) --char (char))",
|
||||
|
|
Loading…
Reference in New Issue