diff --git a/main/src/main/java/net/citizensnpcs/commands/NPCCommands.java b/main/src/main/java/net/citizensnpcs/commands/NPCCommands.java index 01eb06e9a..01861832f 100644 --- a/main/src/main/java/net/citizensnpcs/commands/NPCCommands.java +++ b/main/src/main/java/net/citizensnpcs/commands/NPCCommands.java @@ -1571,7 +1571,7 @@ public class NPCCommands { } } else { if (enumKey != null) { - npc.data().set(enumKey, metadata); + npc.data().setPersistent(enumKey, metadata); } else { npc.data().setPersistent(key, metadata); }