Closed elgbar closed 6 months ago
Fixed in v1.2.1
To add some context to this issue: Normally the plugin validate the state of the inventory by looking at the inventory container found with InventoryID.INVENTORY
, but when the group storage is open another inventory is used called InventoryID.GROUP_STORAGE_INV
.
The issue is that the normal inventory does not get updated when in the group storage, thus it will reset items to the incorrect state. This is now resolved by selecting the correct inventory when the group storage is open.
A slight complication is that if there are no items in the inventory (e.g., after depositing all items) the InventoryID.GROUP_STORAGE_INV
will no longer exist, i.e., be reported as null
. This is accounted for
Describe the bug
To Reproduce Steps to reproduce the behaviour:
Group Storage
on a Group IronmanExpected behaviour
The item should disappear when being deposited into the group ironman bank.
Screenshots
gim-deposit-bug.webm
Additional context
Originally reported in https://github.com/elgbar/instant-inventory/issues/14#issuecomment-1974784169