Try removing one item when you have multiple stacks of only one item (e.g. swords)
All of them get removed
Expected result
Only one gets removed
Actual result
All of them get removed
The reason for this problem is this function by Ad5001 that's supposed to remove the correct amount of items, but apparently no one ever tested it with non-stacking items lol.
Brief description
Unfairly, too many items get removed.
Steps to reproduce
Expected result
Only one gets removed
Actual result
All of them get removed
The reason for this problem is this function by Ad5001 that's supposed to remove the correct amount of items, but apparently no one ever tested it with non-stacking items lol.
Possible fix (not yet tested):
Thanks to @MCPEATECH for finding this out.