@Override
 public void save() throws ConfigurationException {
   super.save();
   ConfigurationNode node = this.getParent().getNode("worlds", this.getWorldName());
   for (Map.Entry<String, Object> entry : this.getValues().entrySet()) {
     node.getNode(entry.getKey()).setValue(entry.getValue());
   }
 }
示例#2
0
 @Override
 public void load() throws ConfigurationException {
   super.load();
   super.save();
 }