Add missing flags for /npc endercrystal

This commit is contained in:
fullwall 2021-11-20 23:46:09 +08:00
parent 968f3fd68b
commit 3d1d2ef222
1 changed files with 2 additions and 1 deletions

View File

@ -666,11 +666,12 @@ public class NPCCommands {
@Command(
aliases = { "npc" },
usage = "endercrystal -b",
usage = "endercrystal -b(ottom)",
desc = "Edit endercrystal modifiers",
modifiers = { "endercrystal" },
min = 1,
max = 1,
flags = "b",
permission = "citizens.npc.endercrystal")
@Requirements(ownership = true, selected = true, types = EntityType.ENDER_CRYSTAL)
public void endercrystal(CommandContext args, Player sender, NPC npc) throws CommandException {