Skip to content

Conversation

@golovin12
Copy link
Contributor

Bugfix for issue: #2

Here is the fix for the bug where BattlePass was processing clicks from other plugins due to identical inventory titles.
For creating inventories, you should use your own InventoryHolder and filter clicks based on it (I added BaseHolder).

Improvement for the future that will simplify code maintenance:
Ideally, create a separate Holder for each type of inventory and filter everywhere based on it instead of titles. You can also store some data there (for example, page number).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant