Machines that take items are reducing stack sizes to 0 without removing the stack
justastranger opened this issue ยท 1 comments
Describe the bug
Item stacks are decremented in a way that can result in stacks of zero that cause machines to spam error notifications. No errors, warnings, or trace logs are generated from this. I'm told that there were specific vanilla methods added with 1.6 for reducing stack sizes that should have replaced this. Direct link to the suspected code
To Reproduce
Exact steps which reproduce the bug, if possible. For example:
- Place a mayonnaise machine next to a chest.
- Place an egg of any quality in the chest.
- Watch as the machine begins and the egg stack persists with 0 items in it (you can verify by using the book that lets you see sell price on stacks, it will show as being worth 0).
- When the machine finishes, the notification in the image will be produced repeatedly as the machine scans the inventory, fails to grab the 0-stack, and tries again.
Log file
Upload your SMAPI log to https://smapi.io/log and post a link here.