Commit 23e6626
Remove enhancement check from observer - let function handle it
The observer was checking if enhancement exists before calling the function,
which prevented it from detecting when a different item was selected.
Now the observer always calls enhanceInventoryItem() when panel is visible,
and the function itself checks if the panel needs to be replaced based on assetid.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent a07b290 commit 23e6626
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments