fix bug that prevents preview if items are missing
@@ -260,13 +260,14 @@ public class CraftingTask implements ICraftingTask {
req.setAmount(qty);
this.toCraftFluids.add(req);
}
-
+ if(missing.isEmpty()){
crafts.values().forEach(c -> {
totalSteps += c.getQuantity();
if (c instanceof Processing) {
((Processing) c).finishCalculation();
}
});
+ }
return null;
}
