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:
		| @@ -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
	 raoulvdberge
					raoulvdberge