InvalidOperationException: Collection was modified; enumeration operation may not executeFixed
keep getting call hook 'OnEntityBuilt' on plugin 'BuildingRestriction v1.5.6' (InvalidOperationException: Collection was modified; enumeration operation may not execute.)
at System.ThrowHelper.ThrowInvalidOperationException (System.ExceptionResource resource) [0x0000b] in <e1a80661d61443feb3dbdaac88eeb776>:0
at System.Collections.Generic.List`1+Enumerator[T].MoveNextRare () [0x00013] in <e1a80661d61443feb3dbdaac88eeb776>:0
at System.Collections.Generic.List`1+Enumerator[T].MoveNext () [0x0004a] in <e1a80661d61443feb3dbdaac88eeb776>:0
at Oxide.Plugins.BuildingRestriction.GetCountOf (System.Collections.Generic.List`1[T] ConnectingStructure, System.String buildingObject) [0x00051] in <4ae290f9d6e24deb9db0d1e0b4f7a35a>:0
at Oxide.Plugins.BuildingRestriction.OnEntityBuilt (Planner planner, UnityEngine.GameObject go) [0x0012c] in <4ae290f9d6e24deb9db0d1e0b4f7a35a>:0
at Oxide.Plugins.BuildingRestriction.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001e5] in <4ae290f9d6e24deb9db0d1e0b4f7a35a>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0 
Fixed for the next version.
Locked automatically