src/com/lilithsthrone/game/character/race/AbstractSubspecies.java
/**
	 * Changes that should be applied to characters of this species upon generation. Called <b>after</b> this Subspecies' Race.applyRaceChanges().
	 */
Changes that should be applied to characters of this species upon generation. Called after this Subspecies' Race.applyRaceChanges().
Changes that should be applied to characters of this species upon generation . Called after this Subspecies ' Race . applyRaceChanges () .
public void applySpeciesChanges(Body body) {
		if(this.isFromExternalFile()) {
			try {
				UtilText.setBodyForParsing("targetedBody", body);
				UtilText.parse(applySubspeciesChanges);
			} catch(Exception ex) {
				ex.printStackTrace();
			}
		}
	}
public void applySpeciesChanges ( Body body ) { if ( this . isFromExternalFile ( ) ) { try { UtilText . setBodyForParsing ( "targetedBody" , body ) ; UtilText . parse ( applySubspeciesChanges ) ; } catch ( Exception ex ) { ex . printStackTrace ( ) ; } } }
Changes that should be applied to characters of this species upon generation.
Changes that should be applied to characters of this species upon generation .
// Removed check for Main.game.isStarted() in v0.4.2.5 as it was causing NPCs to spawn in as incorrect subspecies // Tested from new game and everything worked fine, but also added try/catch block to make sure that any unexpected errors don't cause the game to lock up