mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-12-23 09:37:35 +01:00
Fix copypasta issue in /npc metadata set
This commit is contained in:
parent
ee77512185
commit
5dc627ab49
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user