package plugins;
import com.fs.starfarer.api.BaseModPlugin;
import java.lang.RuntimeException;
import java.lang.ClassNotFoundException;
import com.fs.starfarer.api.campaign.SectorAPI;
import com.fs.starfarer.api.impl.campaign.procgen.ProcgenUsedNames;
import com.fs.starfarer.api.EveryFrameScript;
import com.fs.starfarer.api.Global;
import com.fs.starfarer.api.combat.MissileAPI;
import com.fs.starfarer.api.combat.ShipAPI;
import com.fs.starfarer.api.PluginPick;
import com.fs.starfarer.api.combat.MissileAIPlugin;
import com.fs.starfarer.api.campaign.CampaignPlugin;
import java.io.IOException;
import org.json.JSONException;
import java.lang.Exception;
import java.util.HashMap;
public class stardust_ModPlugin extends BaseModPlugin
{
// basic ModPlugin code taken from theDragn's High Tech Expansion mod, but no longer reliant on kotlin
// Thanks to theDragn for directing me to it!
@Override
public void onGameLoad(boolean newGame)
{
SectorAPI sector = Global.getSector();
if (!sector.hasScript(stardust_FleetStatManager.class))
{
sector.addScript(new stardust_FleetStatManager());
}
}
}
The code has some unnecessary imports I haven't cleaned up yet, but I doubt they'd be causing this specific error./spoiler]
I'm assuming this is something like an IDE configuration problem, or maybe some reference I need that I'm missing?
Just not quite enough info in the log error to really tell me what I'm doing wrong, and I'm too new at Java to spot it.