daily pastebin goal
52%
SHARE
TWEET

Untitled

a guest May 16th, 2018 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. cfgLoader = HoconConfigurationLoader.builder().setFile(defConfig).build();
  2.             configRoot = cfgLoader.load(ConfigurationOptions.defaults().setObjectMapperFactory(factory).setShouldCopyDefaults(true).setHeader(header));
  3.             this.root = configRoot.getValue(TypeToken.of(RPMainCategory.class), new RPMainCategory());
  4.  
  5. if (root.config_version < 7.5D){
  6.             root.config_version = 7.5D;
  7. }
  8.  
  9. cfgLoader.save(configRoot);
RAW Paste Data
Top