Closed 9551-Dev closed 3 months ago
Describe the bug Inventory peripheral list returning entries for empty slots
To Reproduce Steps to reproduce the behavior:
attach top chest lua peripheral.wrap("top").setItem(2,{name="e",count=50}) peripherla.wrap("top").list()
Expected behavior Slots with no items (probably could just be detected by the 0 count) should be nil in the returned table
Screenshots
Environment (please complete the following information):
Describe the bug Inventory peripheral list returning entries for empty slots
To Reproduce Steps to reproduce the behavior:
Expected behavior Slots with no items (probably could just be detected by the 0 count) should be nil in the returned table
Screenshots![image](https://github.com/MCJack123/craftos2/assets/74534592/915bfc7f-f005-42ef-8132-68280a344656)
Environment (please complete the following information):