Important heads up to any modders who use
CampaignUtils: in the upcoming version of LazyLib, all CampaignUtils methods that take a "Class entityClass" argument will have it replaced with "String entityTag". If you're confused as to what this means, just know that calls that used to look like this:
List<SectorEntityToken> nearbyFriendlyStations = CampaignUtils.getNearbyEntitiesWithRep(player, 1500f, OrbitalStationAPI.class, IncludeRep.AT_OR_HIGHER, RepLevel.NEUTRAL);
now look like this:
List<SectorEntityToken> nearbyFriendlyStations = CampaignUtils.getNearbyEntitiesWithRep(player, 1500f, Tags.STATION, IncludeRep.AT_OR_HIGHER, RepLevel.NEUTRAL);
The vanilla tags are found in
com.fs.starfarer.api.impl.campaign.ids.Tags. Using tags instead of the base class means custom campaign entities will actually work with these methods.
I apologize for the
extremely short notice of this change. I honestly thought I had fixed this in 2.0b over a year ago (within hours of those methods being introduced), and didn't realize I hadn't until updating this library for 0.7a just now.