NwPluginAPI
NwPluginAPI copied to clipboard
Adding things to Player.cs
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.
-
IsInventoryFulnow usesInventory.MaxSlotin case the number of inventory slots for the player changes at some point. -
Fixed some typos.
yes i use Github for resolving that.