@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()); } }
@Override public void load() throws ConfigurationException { super.load(); super.save(); }
@Override public void load() throws ConfigurationException { this.setConfiguration( new MapConfiguration(this.getParent().getNode("worlds", this.getWorldName()).getValues())); super.load(); }