northwood-studios / NwPluginAPI

Official server-side plugin system for SCP: Secret Laboratory game.
GNU Lesser General Public License v3.0
81 stars 46 forks source link

Adding things to Player.cs #233

Open SrLicht opened 1 year ago

SrLicht commented 1 year ago

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.

SrLicht commented 1 year ago

yes i use Github for resolving that.