diff --git a/src/main/scala/li/cil/oc/integration/appeng/DriverBlockInterface.scala b/src/main/scala/li/cil/oc/integration/appeng/DriverBlockInterface.scala index 823cdb128b..69f3f50b56 100644 --- a/src/main/scala/li/cil/oc/integration/appeng/DriverBlockInterface.scala +++ b/src/main/scala/li/cil/oc/integration/appeng/DriverBlockInterface.scala @@ -116,6 +116,7 @@ object DriverBlockInterface extends DriverSidedTileEntity { throw new IllegalArgumentException("Invalid index!") val stackNBT = nbt.getCompoundTagAt(index) val stack = ItemStack.loadItemStackFromNBT(stackNBT) + stack.stackSize = 1; DatabaseAccess.withDatabase(node, args.checkString(2), database => { val slot = args.optSlot(database.data, 3, 0) database.setStackInSlot(slot, stack)