CustomItems
CustomItems copied to clipboard
SCP-714 null reference spam
Describe the bug When someone equips SCP-714, it spams Null reference excpetion.
[2022-06-12 14:51:22.757 +00:00] [ERROR] [Exiled.API] Method "OnHurting" of the class "CustomItems.Items.Scp714" caused an exception when handling the event "Exiled.Events.Events+CustomEventHandler1[[Exiled.Events.EventArgs.HurtingEventArgs, Exiled.Events, Version=5.2.1.0, Culture=neutral, PublicKeyToken=null]]" [2022-06-12 14:51:22.770 +00:00] [ERROR] [Exiled.Events] System.NullReferenceException: Object reference not set to an instance of an object at CustomItems.Items.Scp714.OnHurting (Exiled.Events.EventArgs.HurtingEventArgs ev) [0x00023] in <f6cb6e5a8a1c4dfc81001e3099d5cd04>:0 at Exiled.Events.Extensions.Event.InvokeSafely[T] (Exiled.Events.Events+CustomEventHandler
1[TEventArgs] ev, T arg) [0x00024] in <32fb445e6d8b424c811af67d9fed00df>:0
To Reproduce Steps to reproduce the behavior:
- Install CustomItems
- Enable SCP-714
- Pick up SCP-714
- Equip SCP-714
Expected behavior Clear console without errors
EXILED Version ("latest" is not a version): 5.2.1
Results of show plugins
command in console:
Extra info