Having troubles with death messages on my server, none are showing up so i looked in the console and found this.
Error in MulticastDelegate PlayerDeath: System.Reflection.TargetInvocationException: Exception has been thrown by the target
of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object
at Essentials.Api.Unturned.UServer.Broadcast (System.Object message, System.Object icon, UnityEngine.Color color) [0x00040]
in :0
at Essentials.Event.Handling.EssentialsEventHandler.DeathMessages (Rocket.Unturned.Player.UnturnedPlayer player, SDG.Unturn
ed.EDeathCause cause, SDG.Unturned.ELimb limb, Steamworks.CSteamID killer) [0x000a8] in :0
at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],Sys
tem.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Bin
der binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <695d1cc93cca45069c528c15c9fdd
749>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Bin
der binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in <695d1cc93cca45069c528c15c9fdd
749>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <695d1cc93cca45069c528c
15c9fdd749>:0
at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x000e7] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00008] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
at Rocket.Core.Extensions.MulticastDelegateExtension.TryInvoke (System.MulticastDelegate theDelegate, System.Object[] args)
[0x00013] in <59a13feb721848c8b0cd173f6d0e820b>:0
Any help would be great :)
Having troubles with death messages on my server, none are showing up so i looked in the console and found this.
Error in MulticastDelegate PlayerDeath: System.Reflection.TargetInvocationException: Exception has been thrown by the target
of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object
at Essentials.Api.Unturned.UServer.Broadcast (System.Object message, System.Object icon, UnityEngine.Color color) [0x00040]
in :0
at Essentials.Event.Handling.EssentialsEventHandler.DeathMessages (Rocket.Unturned.Player.UnturnedPlayer player, SDG.Unturn
ed.EDeathCause cause, SDG.Unturned.ELimb limb, Steamworks.CSteamID killer) [0x000a8] in :0
at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],Sys
tem.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Bin
der binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <695d1cc93cca45069c528c15c9fdd
749>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Bin
der binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in <695d1cc93cca45069c528c15c9fdd
749>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <695d1cc93cca45069c528c
15c9fdd749>:0
at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x000e7] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00008] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
at Rocket.Core.Extensions.MulticastDelegateExtension.TryInvoke (System.MulticastDelegate theDelegate, System.Object[] args)
[0x00013] in <59a13feb721848c8b0cd173f6d0e820b>:0
Any help would be great :)