use of delta.games.lotro.stats.traitPoints.io.xml.TraitPointsRegistryXMLParser in project lotro-companion by dmorcellet.
the class TraitPoints method loadRegistry.
private TraitPointsRegistry loadRegistry() {
LotroCoreConfig cfg = LotroCoreConfig.getInstance();
File loreDir = cfg.getLoreDir();
File registryFile = new File(loreDir, "traitPoints.xml");
TraitPointsRegistryXMLParser parser = new TraitPointsRegistryXMLParser();
TraitPointsRegistry registry = parser.parseXML(registryFile);
if (registry == null) {
registry = new TraitPointsRegistry();
}
return registry;
}
Aggregations