grondag / facility

GNU Lesser General Public License v3.0
1 stars 1 forks source link

Ghost items in crates (mc116-0.9.147) #14

Open Katorone opened 4 years ago

Katorone commented 4 years ago

I have a line of 12 hoppers feeding into each other, and an intake adapter connected to a line of 13 facility:crate_item. After using the crates for a while newly added items are put in a new pile in the interface.

image

This is solved by a server restart, or breaking all the crates and placing them again. As far as I know, the count has always been right and no items were lost or duplicated. Sometimes items can still be taken out of the storage, but the ghost items will remain.

What I think is happening, is that when items are taken from the crates, an array responsible for displaying the items in inventory isn't made smaller. New items added to the storage then take up the empty spots in that array. In the screenshot above, a grinder was making diorite dust, while I was taking small piles of resources out of the crates to combine them manually. This caused several empty spots that the freshly grounded diorite takes up.

grondag commented 4 years ago

Thank you for the thoughtful issue report. I will be looking at this soon.