Added SaveStashItems on inventory change as was not being written correctly.
Added check for isOpen to allow inventory access if the accessing source is the same source that currently has isOpen assigned to them.
Checklist
[X] I have personally loaded this code into an updated qbcore project and checked all of its functionality.
Description
Added SaveStashItems on inventory change as was not being written correctly. Added check for isOpen to allow inventory access if the accessing source is the same source that currently has isOpen assigned to them.
Checklist