Log on to that same account but from another device (eg: mobile)
Deposit the items in the bank
Log off
Log back on to RuneLite where you were originally
Now the GP Per Hour plugin will show a large loss of GP because it suddenly saw that all the items disappeared.
Suggestion:
When logging on, it should check if the state of all of the tracked inventories has changed, if they have changed, then treat the logon like "banking" and reset everything to this new state and start a new session. If everything is identical to when the user last logged off, then continue as it does currently.
Hey, that is definitely a good edge case that I hadn't thought of. I can work on supporting this with a refactor of how the system works (which will also solve a lot of other issues).
Repro:
Suggestion:
When logging on, it should check if the state of all of the tracked inventories has changed, if they have changed, then treat the logon like "banking" and reset everything to this new state and start a new session. If everything is identical to when the user last logged off, then continue as it does currently.