Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,14 @@ public void update(INetwork network, int channel, PartPos targetPos) {
// Start the actual crafting
boolean couldCraft = consumeAndInsertCrafting(blockingMode, network, channel, targetPos, startingCraftingJob);

// Other jobs that the target refused were tested against its previous state,
// so they are only waiting for this handler now, until they are tested again.
if (couldCraft) {
for (CraftingJob pendingCraftingJob : getPendingCraftingJobs()) {
pendingCraftingJob.setInvalidInputs(false);
}
}

// Keep inserting as much as possible if non-blocking
if (couldCraft && !blockingMode) {
nonBlockingJobsRunningAmount.put(startingCraftingJob.getId(), 1);
Expand Down
Loading