From bd185744125151c81f8123236bf88c41db22ac30 Mon Sep 17 00:00:00 2001 From: Vera Aguilera Puerto <6766154+Zumorica@users.noreply.github.com> Date: Fri, 3 Dec 2021 11:03:41 +0100 Subject: [PATCH] =?UTF-8?q?The=20End=20of=20Entity=20(Komm,=20S=C3=BCsser?= =?UTF-8?q?=20Todd:=20Part=201.0,=20Content=20PR)=20(#5624)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Content.IntegrationTests/Tests/EntityTest.cs | 2 +- .../Administration/Logs/Converters/EntityConverter.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Content.IntegrationTests/Tests/EntityTest.cs b/Content.IntegrationTests/Tests/EntityTest.cs index 19df1b29f6..a889b652cf 100644 --- a/Content.IntegrationTests/Tests/EntityTest.cs +++ b/Content.IntegrationTests/Tests/EntityTest.cs @@ -14,7 +14,7 @@ using Robust.Shared.Timing; namespace Content.IntegrationTests.Tests { [TestFixture] - [TestOf(typeof(Entity))] + [TestOf(typeof(IEntity))] public class EntityTest : ContentIntegrationTest { [Test] diff --git a/Content.Server/Administration/Logs/Converters/EntityConverter.cs b/Content.Server/Administration/Logs/Converters/EntityConverter.cs index 413aa2e270..226d14a97f 100644 --- a/Content.Server/Administration/Logs/Converters/EntityConverter.cs +++ b/Content.Server/Administration/Logs/Converters/EntityConverter.cs @@ -6,11 +6,11 @@ using Robust.Shared.IoC; namespace Content.Server.Administration.Logs.Converters; [AdminLogConverter] -public class EntityConverter : AdminLogConverter +public class EntityConverter : AdminLogConverter { [Dependency] private readonly IEntityManager _entities = default!; - public override void Write(Utf8JsonWriter writer, Entity value, JsonSerializerOptions options) + public override void Write(Utf8JsonWriter writer, IEntity value, JsonSerializerOptions options) { EntityUidConverter.Write(writer, value.Uid, options, _entities); }