InventoryListener fires when opening bank
Summary
The InventoryListener
is fired when you open up the bank. All items in the inventory are regarded as "Additions".
Steps to reproduce
- Open the Dev Toolkit -> Events.
- Open up the bank.
- Reproduced!
Example Code
N/A
What is the current behavior?
The InventoryListener
creates an ItemEvent
for every item in your inventory and regards it as an addition when opening the bank.
It is worth noting that Bank#isOpen()
is false when the event is processed.
What is the expected correct behavior?
It should not fire the InventoryListener
when opening the bank.
Relevant logs and/or screenshots
Possible fixes
See expected behaviour.
Edited by RobinPC