Additional context
Sort of related to custom roles as the Medigun causes an exception:
[2022-01-02 21:09:09.995 +00:00] [ERROR] [Exiled.Events] Method "OnDying" of the class "CustomItems.Items.MediGun" caused an exception when handling the event "Exiled.Events.Events+CustomEventHandler1[[Exiled.Events.EventArgs.DyingEventArgs, Exiled.Events, Version=4.2.2.0, Culture=neutral, PublicKeyToken=null]]" [2022-01-02 21:09:10.008 +00:00] [ERROR] [Exiled.Events] System.NullReferenceException: Object reference not set to an instance of an object at CustomItems.Items.MediGun.OnDying (Exiled.Events.EventArgs.DyingEventArgs ev) [0x00013] in <fa08cca55f7d4af890b287f691bf6060>:0 at Exiled.Events.Extensions.Event.InvokeSafely[T] (Exiled.Events.Events+CustomEventHandler1[TEventArgs] ev, T arg) [0x00024] in <462423b6a375424c92f400fd5ab0ac56>:0
Describe the bug When the server restarts, after going through the plugins, when it gets to CustomRoles, it throws an exception
To Reproduce Steps to reproduce the behavior:
Expected behavior I expect it to enable properly
Server logs
https://pastebin.com/VRaHyK5P
EXILED Version ("latest" is not a version): Version 4.2.2
Results of
show plugins
command in console: Enabled plugins: 31 Disabled plugins: 10Additional context Sort of related to custom roles as the Medigun causes an exception: [2022-01-02 21:09:09.995 +00:00] [ERROR] [Exiled.Events] Method "OnDying" of the class "CustomItems.Items.MediGun" caused an exception when handling the event "Exiled.Events.Events+CustomEventHandler
1[[Exiled.Events.EventArgs.DyingEventArgs, Exiled.Events, Version=4.2.2.0, Culture=neutral, PublicKeyToken=null]]" [2022-01-02 21:09:10.008 +00:00] [ERROR] [Exiled.Events] System.NullReferenceException: Object reference not set to an instance of an object at CustomItems.Items.MediGun.OnDying (Exiled.Events.EventArgs.DyingEventArgs ev) [0x00013] in <fa08cca55f7d4af890b287f691bf6060>:0 at Exiled.Events.Extensions.Event.InvokeSafely[T] (Exiled.Events.Events+CustomEventHandler
1[TEventArgs] ev, T arg) [0x00024] in <462423b6a375424c92f400fd5ab0ac56>:0