Fix integration tests nullability errors.

This commit is contained in:
Vera Aguilera Puerto
2021-12-09 14:36:32 +01:00
parent 32c9db8db4
commit 2cb72d40c1
2 changed files with 6 additions and 4 deletions

View File

@@ -1,3 +1,4 @@
#nullable enable annotations
using System.Threading.Tasks;
using Content.Server.Hands.Components;
using Content.Server.Interaction;
@@ -407,9 +408,9 @@ namespace Content.IntegrationTests.Tests.Interaction.Click
[Reflect(false)]
private class TestInteractionSystem : EntitySystem
{
public ComponentEventHandler<HandsComponent, ClickAttackEvent> AttackEvent;
public EntityEventHandler<InteractUsingEvent> InteractUsingEvent;
public EntityEventHandler<InteractHandEvent> InteractHandEvent;
public ComponentEventHandler<HandsComponent, ClickAttackEvent>? AttackEvent;
public EntityEventHandler<InteractUsingEvent>? InteractUsingEvent;
public EntityEventHandler<InteractHandEvent>? InteractHandEvent;
public override void Initialize()
{