-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Hi, can you fix this?
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.InvalidOperationException: Sequence contains no elements
at System.Linq.ThrowHelper.ThrowNoElementsException()
at System.Linq.Enumerable.First[TSource](IEnumerable1 source) at BombsiteRestrict.BombsiteRestrict.GameRules() in C:\Users\Mates-PC\Desktop\SourceFactory\Projects\CSharp\BombsiteRestrict\BombsiteRestrict.cs:line 204 at BombsiteRestrict.BombsiteRestrict.OnRoundStart(EventRoundStart event, GameEventInfo info) in C:\Users\Mates-PC\Desktop\SourceFactory\Projects\CSharp\BombsiteRestrict\BombsiteRestrict.cs:line 136 at InvokeStub_GameEventHandler1.Invoke(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
--- End of inner exception stack trace ---
at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at CounterStrikeSharp.API.Core.FunctionReference.b__18_0(fxScriptContext* context) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/FunctionReference.cs:line 100
2024-08-30 09:44:43.445 -04:00 [EROR] (cssharp:Core) Error invoking callback