Fixed fluid inputs/outputs in the Pattern Grid not being set when you re-insert a Pattern with fluid inputs/outputs. Fixes #2063
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
### 1.6.10
|
||||
- Fixed client FPS stalling when using "@" mod search in the Grid (raoulvdberge)
|
||||
- Fixed fluid inputs/outputs in the Pattern Grid not being set when you re-insert a Pattern with fluid inputs/outputs (raoulvdberge)
|
||||
|
||||
### 1.6.9
|
||||
- Fixed OpenComputers "unknown error" when using extract item API (raoulvdberge)
|
||||
|
@@ -104,10 +104,12 @@ public class NetworkNodeGrid extends NetworkNode implements IGridNetworkAware, I
|
||||
if (isPatternProcessing && isProcessingPattern()) {
|
||||
for (int i = 0; i < 9; ++i) {
|
||||
processingMatrix.setStackInSlot(i, StackUtils.nullToEmpty(ItemPattern.getInputSlot(pattern, i)));
|
||||
processingMatrixFluids.setFluid(i, ItemPattern.getFluidInputSlot(pattern, i));
|
||||
}
|
||||
|
||||
for (int i = 0; i < 9; ++i) {
|
||||
processingMatrix.setStackInSlot(9 + i, StackUtils.nullToEmpty(ItemPattern.getOutputSlot(pattern, i)));
|
||||
processingMatrixFluids.setFluid(9 + i, ItemPattern.getFluidOutputSlot(pattern, i));
|
||||
}
|
||||
} else if (!isPatternProcessing && !isProcessingPattern()) {
|
||||
for (int i = 0; i < 9; ++i) {
|
||||
|
Reference in New Issue
Block a user