ColonyIntegrator getWorkOrderResources() missing value in output
DreadedEntity opened this issue ยท 1 comments
Describe
Documentation says that the table returned is a list of tables with the following properties:
- item
- displayName
- status
- needed
- available
- delivering
However .item does not exist in the tables and always returns nil, the other properties do exist for each item
Steps to reproduce
- Create a MineColony colony
- Start a builder's hut
- Set down a CC computer and colony integrator next to it
- Run the following code and observe the output:
colony = peripheral.find("colonyIntegrator") for workOrderIndex, workOrder in pairs(colony.getWorkOrders()) do resources = colony.getWorkOrderResources(workOrder.id) if resources ~= nil then for resourceIndex, resource in pairs(resources) do for key, value in pairs(resource) do print(key, value) end sleep (2) end end end
Multiplayer?
Yes
Version
1.19.2-0.7.22b
Minecraft, Forge and maybe other related mods versions
Forge 43.2.3 Minecraft 1.19.2
Screenshots or Videos
No response
Crashlog/log
No response