OpenComputers icon indicating copy to clipboard operation
OpenComputers copied to clipboard

Robot - inventory controller - Inventory not found

Open Glastis opened this issue 5 years ago • 2 comments

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))

image image

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

Glastis avatar Dec 23 '20 23:12 Glastis

does not repro for me. maybe retry with our dev build

payonel avatar May 10 '21 21:05 payonel

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.

Glastis avatar Jun 15 '21 14:06 Glastis