Skip to content

Commit

Permalink
Merge remote-tracking branch 'lordIcocain/prevent_void_missing_mod_on…
Browse files Browse the repository at this point in the history
…_failed_to_extract' into dev
  • Loading branch information
Dream-Master committed Dec 29, 2024
2 parents d5b3608 + b25c01d commit a04c64f
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -968,6 +968,9 @@ public ICraftingLink submitJob(final IGrid g, final ICraftingJob job, final Base
this.usedStorage = job.getByteTotal();
this.numsOfOutput = job.getOutput().getStackSize();
this.isMissingMode = job.getCraftingMode() == CraftingMode.IGNORE_MISSING;
for (IAEItemStack wfm : this.waitingForMissing) {
this.waitingFor.add(wfm);
}
this.markDirty();

this.updateCPU();
Expand Down Expand Up @@ -1000,6 +1003,7 @@ public ICraftingLink submitJob(final IGrid g, final ICraftingJob job, final Base
return whatLink;
}
} else {
this.waitingForMissing.resetStatus();
this.tasks.clear();
this.providers.clear();
this.inventory.getItemList().resetStatus();
Expand Down Expand Up @@ -1191,7 +1195,6 @@ public void addStorage(final IAEItemStack extractItems) {
}

public void addEmitable(final IAEItemStack i) {
this.waitingFor.add(i);
this.waitingForMissing.add(i);
this.postCraftingStatusChange(i);
}
Expand Down

0 comments on commit a04c64f

Please sign in to comment.