xlilcasper 0 Posted November 25, 2017 Share Posted November 25, 2017 I'm trying to get access to a chest below the robot. Here is the test code. local component = require("component") local sides = require("sides") print(component.inventory_controller.getInventorySize(sides.bottom)) Here are the components I have eeprom robot gpu filesystem geolyzer inventory_controller computer filesystem chunkloader filesystem internet screen keyboard Every time I run the program with a chest below the robot I get "nil no inventory" I have a plain oak chest under the robot. Any help? Am I missing something? I'm on the version for 1.12.2, possible bug? I suspect I am just missing something. Quote Link to post Share on other sites
0 Slamakans 1 Posted December 1, 2017 Share Posted December 1, 2017 I copypasted your code and tried it, seems to work for me on OpenComputers-MC1.12.1-1.7.0.20.jar Quote Link to post Share on other sites
0 xlilcasper 0 Posted December 7, 2017 Author Share Posted December 7, 2017 Seems to be working in the latest version. Thanks for test! Quote Link to post Share on other sites
I'm trying to get access to a chest below the robot. Here is the test code.
local component = require("component") local sides = require("sides") print(component.inventory_controller.getInventorySize(sides.bottom))
Here are the components I have
eeprom robot gpu filesystem geolyzer inventory_controller computer filesystem chunkloader filesystem internet screen keyboard
Every time I run the program with a chest below the robot I get "nil no inventory"
I have a plain oak chest under the robot.
Any help? Am I missing something? I'm on the version for 1.12.2, possible bug? I suspect I am just missing something.
Link to post
Share on other sites