Content arch (#20107)

Co-authored-by: DrSmugleaf <drsmugleaf@gmail.com>
This commit is contained in:
metalgearsloth
2023-11-23 14:34:37 +11:00
committed by GitHub
parent 7d2e8c7087
commit 93bd9972f1
33 changed files with 331 additions and 109 deletions

View File

@@ -500,7 +500,7 @@ public abstract partial class InteractionTest
/// <summary>
/// Assert whether or not the target has the given component.
/// </summary>
protected void AssertComp<T>(bool hasComp = true, NetEntity? target = null)
protected void AssertComp<T>(bool hasComp = true, NetEntity? target = null) where T : IComponent
{
target ??= Target;
if (target == null)