diff --git a/RageCoop.Server/Scripting/API.cs b/RageCoop.Server/Scripting/API.cs index 1dcab1e..7e566fa 100644 --- a/RageCoop.Server/Scripting/API.cs +++ b/RageCoop.Server/Scripting/API.cs @@ -80,7 +80,7 @@ namespace RageCoop.Server.Scripting } internal static void InvokePlayerUpdate(Client client) { - OnPlayerUpdate.Invoke(null,client); + OnPlayerUpdate?.Invoke(null,client); } #endregion }