Skip to content
This repository was archived by the owner on Jun 21, 2025. It is now read-only.

Conversation

@SrLicht
Copy link
Contributor

@SrLicht SrLicht commented Oct 23, 2023

Fixed an issue with "Collection was modified" error when using Player.Items in a foreach loop and removing an object. Now, I use ToList() to create a new temporary list.

  • Moved methods from the extensions of my private plugin to the Player.cs API so that everyone can use them.

  • IsInventoryFul now uses Inventory.MaxSlot in case the number of inventory slots for the player changes at some point.

  • Fixed some typos.

Fixed an issue with "Collection was modified" error when using Player.Items in a foreach loop and removing an object. Now, I use `ToList()` to create a new temporary list.

* Moved methods from the extensions of my private plugin to the Player.cs API so that everyone can use them.

* `IsInventoryFul`l now uses `Inventory.MaxSlot` in case the number of inventory slots for the player changes at some point.

* Fixed some typos.
@SrLicht
Copy link
Contributor Author

SrLicht commented Nov 4, 2023

yes i use Github for resolving that.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants