From 0618f546970864e680c571370ddc186b1955fd4c Mon Sep 17 00:00:00 2001 From: Kike Garcia Date: Mon, 27 May 2024 18:25:51 +0200 Subject: [PATCH] Update TransactionalComponent.cs --- src/RhinoInside.Revit.GH/Components/TransactionalComponent.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RhinoInside.Revit.GH/Components/TransactionalComponent.cs b/src/RhinoInside.Revit.GH/Components/TransactionalComponent.cs index 3578bb838..c320a7ae4 100644 --- a/src/RhinoInside.Revit.GH/Components/TransactionalComponent.cs +++ b/src/RhinoInside.Revit.GH/Components/TransactionalComponent.cs @@ -76,7 +76,7 @@ void AddRuntimeMessage(ARDB.FailureMessageAccessor error, bool? solved = null) return; } - if (severity == ARDB.FailureSeverity.Warning && FailureDefinitionIdsToFix.Contains(failureId)) + if (severity == ARDB.FailureSeverity.Warning && FailureDefinitionIdsToFix?.Contains(failureId) is true) return; var level = GH_RuntimeMessageLevel.Remark;