NwPluginAPI icon indicating copy to clipboard operation
NwPluginAPI copied to clipboard

Adding things to Player.cs

Open SrLicht opened this issue 2 years ago • 1 comments

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.

SrLicht avatar Oct 23 '23 15:10 SrLicht

yes i use Github for resolving that.

SrLicht avatar Nov 04 '23 11:11 SrLicht