Package org.bukkit.configuration

Examples of org.bukkit.configuration.MemoryConfiguration.options()


     * @return
     */
    public static MemoryConfiguration getWorldsDefaultConfig(final ConfigFile defaultConfig){
      final char sep = defaultConfig.options().pathSeparator();
      final MemoryConfiguration config = new ConfigFile();
      config.options().pathSeparator(sep);
      final Map<String, Object> defaults = defaultConfig.getValues(false);
      for (final Entry<String, Object> entry : defaults.entrySet()){
        final String part = entry.getKey();
        if (!part.isEmpty() && !mayBeInWorldConfig(part)) continue;
        final Object value = entry.getValue();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.