Fixed fluid stack lists not using amount provided when inserting newly in list

This commit is contained in:
raoulvdberge
2018-01-09 20:04:28 +01:00
parent 12cc9428ee
commit 530f3c58bf

View File

@@ -26,7 +26,9 @@ public class StackListFluid implements IStackList<FluidStack> {
}
}
stacks.put(stack.getFluid(), stack.copy());
FluidStack newStack = stack.copy();
newStack.amount = size;
stacks.put(stack.getFluid(), newStack);
}
@Override