Skip to main content
The Deno 2 Release Candidate is here
Learn more
method ProfileFixerService.prototype.fixNullTraderNextResupply
import { ProfileFixerService } from "https://deno.land/x/sptaki@1.2.0/services/ProfileFixerService.d.ts";

If someone has run a mod from pre-3.8.0, it results in an invalid nextResupply value Resolve this by setting the nextResupply to 0 if it's null

Parameters

pmcProfile: IPmcData