For some reason my code to access a tranposer inventory is not working. I am trying to connect it to my Refined Storage ME system but when trying to connect it to a chest on top of the transposer it simply doesn't work.
Here is my code:
local component = require("component")
local sides = require("sides")
local transposer = component.transposer
local ser = require("serialization")
local selection = "minecraft:dirt"
local amount = 10
print(transposer.getInventorySize(sides.south))