This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
immibis's profile picture

Turtles do not cause the display on Factorization barrels to update.

Started by immibis, 12 February 2013 - 05:38 PM
immibis #1
Posted 12 February 2013 - 06:38 PM
When a turtle drops items into a Factorization barrel it will not cause the item count displayed on the front to update.
Buildcraft used to have a similar bug, caused by it not calling onInventoryChanged or setInventorySlotContents when it adds items to an existing stack.
The fix for Buildcraft was simple: https://github.com/MrTJP/BuildCraft/commit/85644a33cf4e51efdf15ff58c570388aedfe90d6

Tested in 1.481, and this is not in the changelog for 1.5 prereleases.
Cloudy #2
Posted 13 February 2013 - 12:46 AM
I've made sure we call setInventoryStackContents even if we're just increasing the stack size of the existing stack - we were already calling onInventoryChanged. Hopefully that will fix it.