Describe the bug:
An event handler error occurred when player disconnects from the server. This may be due to new ServerMod 3.6.0.
To Reproduce:
Join the server.
Disconnect from the server.
Error in the server console.
Logs:
[12:12:06] [ERROR] [Event] Event Handler: SCPDiscord.EventListeners.RoundEventListener Failed to handle event:Smod2.Events.DisconnectEvent
[12:12:06] [ERROR] [Event] System.NullReferenceException: Object reference not set to an instance of an object
at SCPDiscord.EventListeners.RoundEventListener.OnDisconnect (Smod2.Events.DisconnectEvent ev) [0x00011] in <f18bc6386af041e89c4ff46ac63747ef>:0
at Smod2.Events.DisconnectEvent.ExecuteHandler (Smod2.EventHandlers.IEventHandler handler) [0x00000] in <b4c2bd8e14e6423c90bfbaeda975fe4c>:0
at Smod2.Events.EventManager.HandleEvent[T] (Smod2.Events.Event ev) [0x00016] in <b4c2bd8e14e6423c90bfbaeda975fe4c>:0
[12:12:06] [ERROR] [Event] Event Handler: SCPDiscord.EventListeners.RoundEventListener Failed to handle event:Smod2.Events.LateDisconnectEvent
[12:12:06] [ERROR] [Event] System.NullReferenceException: Object reference not set to an instance of an object
at SCPDiscord.EventListeners.RoundEventListener.OnLateDisconnect (Smod2.Events.LateDisconnectEvent ev) [0x00011] in <f18bc6386af041e89c4ff46ac63747ef>:0
at Smod2.Events.LateDisconnectEvent.ExecuteHandler (Smod2.EventHandlers.IEventHandler handler) [0x00000] in <b4c2bd8e14e6423c90bfbaeda975fe4c>:0
at Smod2.Events.EventManager.HandleEvent[T] (Smod2.Events.Event ev) [0x00016] in <b4c2bd8e14e6423c90bfbaeda975fe4c>:0
Describe the bug: An event handler error occurred when player disconnects from the server. This may be due to new ServerMod 3.6.0.
To Reproduce:
Logs:
Setup: