Verliezer Posted January 9, 2022 Posted January 9, 2022 (edited) I assumed that a containerHub would be similar as a container when using LUA API's. for _, container in pairs(containers) do maxVolume = container.getMaxVolume() currVolume = container.getItemsVolume() system.print(maxVolume.." - "..currVolume) end This simple script return 0.0 for the maxVolume when I connect the container through a containerHub to the programming board. CurrVolume contains the right value so getItemsVolume() is working for a hub. When connecting the container directly to the programboard the maxVolume returns the correct value, however the currVolume is 0.0. Bug? Edited January 9, 2022 by Verliezer
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now