I didn't see a way to supply a patch for EMInterface, so I have included the diff here.

NullReferenceException in ccmdLeaveEvent (line 1450-1452)

EventManager.BaseManager.LeaveEvent(player);

if (EventManager.BaseManager.Status < EventManager.EventStatus.Prestarting)

After LeaveEvent, if the player was the last one and EndEvent fires, BaseManager gets destroyed and set to null. The next line then throws a NullReferenceException accessing .Status.



Diff:

--- a/EMInterface.cs
+++ b/EMInterface.cs
@@ -16,1 +16,1 @@
- [Info("EMInterface", "k1lly0u", "2.0.2")]
+ [Info("EMInterface", "k1lly0u", "2.0.3")]
@@ -1450,1 +1450,1 @@
- EventManager.BaseManager.LeaveEvent(player);
+ EventManager.BaseManager?.LeaveEvent(player);
@@ -1452,1 +1452,1 @@
- if (EventManager.BaseManager.Status < EventManager.EventStatus.Prestarting)
+ if (EventManager.BaseManager != null && EventManager.BaseManager.Status < EventManager.EventStatus.Prestarting)