[Chests Anywhere] 1.12-beta causes issue with Categorize Chests overlay
Pathoschild opened this issue ยท 3 comments
With Chests Anywhere 1.12-beta, navigating between chests causes Categorize Chests' overlay to disappear until you add/remove a chest item (see log). This doesn't happen with Chests Anywhere 1.11.1.
Reported by SpringsSong on Discord.
The Categorise Chests author is inactive, so I decompiled the mod to peek. This happens because of changes to support the shipping bin and Junimo huts. Specifically, Categorise Chests has this code:
Chest chest = itemGrabMenu.behaviorOnItemGrab?.Target as Chest;
That Target
property is the instance on which the delegate is called, which is now IContainer
for menus opened by Chests Anywhere.