Remove living entity requirement for /npc name

This commit is contained in:
fullwall 2021-05-07 01:48:22 +08:00
parent 3d85ad4ea8
commit 8c120aae52
1 changed files with 1 additions and 1 deletions

View File

@ -1330,7 +1330,7 @@ public class NPCCommands {
max = 1,
flags = "h",
permission = "citizens.npc.name")
@Requirements(selected = true, ownership = true, livingEntity = true)
@Requirements(selected = true, ownership = true)
public void name(CommandContext args, CommandSender sender, NPC npc) {
String old = npc.data().<Object> get(NPC.NAMEPLATE_VISIBLE_METADATA, true).toString();
if (args.hasFlag('h')) {