Fixed issue with autocrafting check outputs instead of inputs for insertion (#2734)

* fixed insertiong not working if output was for different type

* changelog
This commit is contained in:
Darkere
2020-11-11 19:03:58 +01:00
committed by GitHub
parent 512077e880
commit b97e2bb835
2 changed files with 3 additions and 2 deletions

View File

@@ -106,8 +106,8 @@ public class ProcessingNode extends Node {
allLocked = false;
}
if ((!singleItemSetToReceive.isEmpty() && container.getConnectedInventory() == null) ||
(!singleFluidSetToReceive.isEmpty() && container.getConnectedFluidInventory() == null)) {
if ((!singleItemSetToRequire.isEmpty() && container.getConnectedInventory() == null) ||
(!singleFluidSetToRequire.isEmpty() && container.getConnectedFluidInventory() == null)) {
if (allMissingMachine) {
this.state = ProcessingState.MACHINE_NONE;
}