diff --git a/src/main/java/net/citizensnpcs/commands/NPCCommands.java b/src/main/java/net/citizensnpcs/commands/NPCCommands.java index 827ee7396..6086b97d5 100644 --- a/src/main/java/net/citizensnpcs/commands/NPCCommands.java +++ b/src/main/java/net/citizensnpcs/commands/NPCCommands.java @@ -139,7 +139,7 @@ public class NPCCommands { min = 1, max = 3, permission = "citizens.npc.anchor") - @Requirements(selected = true, ownership = true, types = EntityType.PLAYER) + @Requirements(selected = true, ownership = true) public void anchor(CommandContext args, CommandSender sender, NPC npc) throws CommandException { Anchors trait = npc.getTrait(Anchors.class); if (args.hasValueFlag("save")) { @@ -746,7 +746,7 @@ public class NPCCommands { min = 1, max = 2, permission = "citizens.npc.pose") - @Requirements(selected = true, ownership = true, types = EntityType.PLAYER) + @Requirements(selected = true, ownership = true) public void pose(CommandContext args, CommandSender sender, NPC npc) throws CommandException { Poses trait = npc.getTrait(Poses.class); if (args.hasValueFlag("save")) { @@ -1219,4 +1219,4 @@ public class NPCCommands { npc.getName()); } } -} \ No newline at end of file +} diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 2ecf1a29b..eec715be9 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -64,6 +64,7 @@ permissions: citizens.npc.controllable: true citizens.npc.copy: true citizens.npc.create: true + citizens.npc.create.*: true citizens.npc.despawn: true citizens.npc.edit.*: children: @@ -101,4 +102,4 @@ permissions: citizens.npc.trait: true citizens.npc.trait-configure: true citizens.npc.vulnerable: true - citizens.npc.wolf: true \ No newline at end of file + citizens.npc.wolf: true