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

@@ -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;