public override void Dispose() { astar?.Dispose(); // astar will be null clientside, as this ModSystem is only started on servers astar = null; }
public override void StartServerSide(ICoreServerAPI api) { base.StartServerSide(api); astar = new AStar(api); }