mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-02-28 18:21:19 +01:00
Fix /npc skin creating unloadable NPCs
This commit is contained in:
parent
b1cbc4f409
commit
89c7fef7fc
@ -119,6 +119,8 @@ public class CitizensNPC extends AbstractNPC {
|
||||
@Override
|
||||
public void save(DataKey root) {
|
||||
super.save(root);
|
||||
if (!data().get(NPC.SHOULD_SAVE_METADATA, true))
|
||||
return;
|
||||
navigator.save(root.getRelative("navigator"));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user