make save true by default in yaml deserializer
This commit is contained in:
parent
b3b8635477
commit
55104b56f3
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ public class YamlSerializer implements NpcSerializer<YamlConfiguration> {
|
||||||
NpcEntryImpl entry = new NpcEntryImpl(config.getString("id"), npc);
|
NpcEntryImpl entry = new NpcEntryImpl(config.getString("id"), npc);
|
||||||
entry.setProcessed(config.getBoolean("is-processed"));
|
entry.setProcessed(config.getBoolean("is-processed"));
|
||||||
entry.setAllowCommandModification(config.getBoolean("allow-commands"));
|
entry.setAllowCommandModification(config.getBoolean("allow-commands"));
|
||||||
entry.setSave(config.getBoolean("save"));
|
entry.setSave(config.getBoolean("save", true));
|
||||||
|
|
||||||
return entry;
|
return entry;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue