We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad762c5 commit 2fea540Copy full SHA for 2fea540
1 file changed
src/main/scala/li/cil/oc/server/component/traits/InventoryTransfer.scala
@@ -48,7 +48,7 @@ trait InventoryTransfer extends traits.WorldAware with traits.SideRestricted {
48
val sinkSide = checkSideForAction(args, 1)
49
val sinkPos = position.offset(sinkSide)
50
val count = args.optFluidCount(2)
51
- val sourceTank = args.optInteger(3, -1)
+ val sourceTank = args.optInteger(3, -1) - 1
52
53
onTransferContents() match {
54
case Some(reason) =>
0 commit comments