The Crafting Card no longer schedules requests when there are items or fluids missing. Fixes #1904
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user