The Crafting Card no longer schedules requests when there are items or fluids missing. Fixes #1904

This commit is contained in:
raoulvdberge
2018-07-25 11:49:33 +02:00
parent fefb1f294a
commit 4d93a5faf1
2 changed files with 3 additions and 2 deletions

View File

@@ -6,6 +6,7 @@
- Added support for JEI ghost slot dragging (raoulvdberge)
- Added config option to hide covers in the creative mode tabs and JEI (raoulvdberge)
- Removed "emit signal when item is being autocrafted" option in the Detector (raoulvdberge)
- The Crafting Card no longer schedules requests when there are items or fluids missing (raoulvdberge)
- You can now keep fluids in stock by attaching a External Storage in fluid mode to a Fluid Interface with a Crafting Upgrade (raoulvdberge)
- You can now specify the amount to export in the Fluid Interface (raoulvdberge)
- Made the Crafting Preview window bigger (raoulvdberge)

View File

@@ -235,7 +235,7 @@ public class CraftingManager implements ICraftingManager {
if (task != null) {
ICraftingTaskError error = task.calculate();
if (error == null) {
if (error == null && task.getMissing().isEmpty()) {
this.add(task);
return task;
@@ -263,7 +263,7 @@ public class CraftingManager implements ICraftingManager {
if (task != null) {
ICraftingTaskError error = task.calculate();
if (error == null) {
if (error == null && task.getMissing().isEmpty()) {
this.add(task);
return task;