I know a solution for your issue which is here https://github.com/rathena/rathena/pull/1115
apologies for the late response been busy lately,
which one in particular should i modify here specifically for my vending problem as there are 39 files changes
Thank you!