Skip to content

Commit

Permalink
Bug Fix: Industry jobs assets use the wrong location
Browse files Browse the repository at this point in the history
  • Loading branch information
GoldenGnu committed Sep 19, 2024
1 parent 99ff68c commit cdeb000
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,14 @@ public RawAsset(MyIndustryJob industryJob, boolean output) {
default:
itemFlag = ApiIdConverter.getFlag(0); //Should never happen, but, better safe than sorry...
}
locationId = industryJob.getOutputLocationID();
locationId = industryJob.getLocationID();
quantity = industryJob.getOutputCount();
typeId = industryJob.getProductTypeID();
} else if (output && industryJob.isCopying()) {
isSingleton = true;
itemId = RawConverter.toLong(industryJob.getJobID()); //This item doesn't exist yet, need a new itemID
itemFlag = COPYING_FLAG;
locationId = industryJob.getOutputLocationID();
locationId = industryJob.getLocationID();
quantity = -2; //BPC
typeId = industryJob.getBlueprintTypeID();
} else {
Expand Down

0 comments on commit cdeb000

Please sign in to comment.