OpenComputers
OpenComputers copied to clipboard
Robot - inventory controller - Inventory not found
Opencomputers: OpenComputers-MC1.12.2-1.7.5.192 MC version: 1.12.2
-- test.lua
local component = require("component")
local sides = require("sides")
print(component.inventory_controller.getInventorySize(sides.up))
print(component.inventory_controller.getInventorySize(sides.down))

No inventory found even with a vanilla chest and droppers. Can do a robot.dropDown() without trouble.
Tested on multiple robots with a fresh install of OpenOs.
Nothing found in logs
does not repro for me. maybe retry with our dev build
Late reply, in case of someone having the same problem.
Found out it was due to Minecolonies villages.
Still don't know why computercraft/other mods does not have this behaviors, probably due to the fake player. Well, this is definitely not a OC bug, I don't know if it is even possible to add a error message.