2No2Name / hopperOptimizations

A mod that optimizes hoppers and their interactions with entities and inventories. It drastically reduces hopper lag without changing any behavior.
MIT License
64 stars 9 forks source link

Duping shulker boxes in first chest slot #8

Closed josephrooks closed 4 years ago

josephrooks commented 4 years ago

Using this for the first time - just noticed that in the chest my rockets are going into, when I have optimizedInventories true, rockets that come into the chest from the sorter attached to it add +1 to the shulker box full of rockets in the chest's first slot... resulting in a stack of shulker boxes identical to the one in the first slot. The items trickling in through the hopper behind the chest are lost in the process.

Toggling optimizedInventories false fixes it and setting it to true again causes it to start happening again immediately. It only seems to affect a shulker box in the first slot of the chest - once that becomes a full stack of shulker boxes, items stop moving even if there are empty slots in the chest.

image

2No2Name commented 4 years ago

That is an oversight (an @ Override was missing) with huge consequences, I will prepare a new release now. Thank you for the report

2No2Name commented 4 years ago

@josephrooks new release is out, from my testing the bug doesn't occur anymore

josephrooks commented 4 years ago

Thank you! Glad I could help, I'll install the update and let you know if anything seems off.