Package games.stendhal.server.core.config

Examples of games.stendhal.server.core.config.SpellGroupsXMLLoader.load()


   * builds the spell tables
   */
  private void buildSpellTables() {
    try {
      final SpellGroupsXMLLoader loader = new SpellGroupsXMLLoader(new URI("/data/conf/spells.xml"));
      List<DefaultSpell> loadedDefaultSpells = loader.load();
      for (DefaultSpell defaultSpell : loadedDefaultSpells) {
        addSpell(defaultSpell);
      }
    } catch (Exception e) {
      LOGGER.error("spells.xml could not be loaded", e);
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.