diff --git a/Content.Client/Changelog/ChangelogManager.cs b/Content.Client/Changelog/ChangelogManager.cs index 02ed7e1b42..172ee32ca9 100644 --- a/Content.Client/Changelog/ChangelogManager.cs +++ b/Content.Client/Changelog/ChangelogManager.cs @@ -10,6 +10,7 @@ using Robust.Shared.Serialization; using Robust.Shared.Serialization.Manager; using Robust.Shared.Serialization.Manager.Attributes; using Robust.Shared.Serialization.Markdown; +using Robust.Shared.Serialization.Markdown.Mapping; using Robust.Shared.Utility; #nullable enable diff --git a/Content.Shared/Construction/ConstructionGraphStepTypeSerializer.cs b/Content.Shared/Construction/ConstructionGraphStepTypeSerializer.cs index cedb39a782..c555c34fa7 100644 --- a/Content.Shared/Construction/ConstructionGraphStepTypeSerializer.cs +++ b/Content.Shared/Construction/ConstructionGraphStepTypeSerializer.cs @@ -4,7 +4,7 @@ using Robust.Shared.IoC; using Robust.Shared.Serialization.Manager; using Robust.Shared.Serialization.Manager.Attributes; using Robust.Shared.Serialization.Manager.Result; -using Robust.Shared.Serialization.Markdown; +using Robust.Shared.Serialization.Markdown.Mapping; using Robust.Shared.Serialization.Markdown.Validation; using Robust.Shared.Serialization.TypeSerializers.Interfaces; @@ -15,31 +15,31 @@ namespace Content.Shared.Construction { private Type? GetType(MappingDataNode node) { - if (node.HasNode("material")) + if (node.Has("material")) { return typeof(MaterialConstructionGraphStep); } - else if (node.HasNode("tool")) + else if (node.Has("tool")) { return typeof(ToolConstructionGraphStep); } - else if (node.HasNode("prototype")) + else if (node.Has("prototype")) { return typeof(PrototypeConstructionGraphStep); } - else if (node.HasNode("component")) + else if (node.Has("component")) { return typeof(ComponentConstructionGraphStep); } - else if (node.HasNode("tag")) + else if (node.Has("tag")) { return typeof(TagConstructionGraphStep); } - else if (node.HasNode("allTags") || node.HasNode("anyTags")) + else if (node.Has("allTags") || node.Has("anyTags")) { return typeof(MultipleTagsConstructionGraphStep); } - else if (node.HasNode("steps")) + else if (node.Has("steps")) { return typeof(NestedConstructionGraphStep); } diff --git a/Content.Tests/Shared/Alert/AlertPrototypeTests.cs b/Content.Tests/Shared/Alert/AlertPrototypeTests.cs index 5691fd097a..3a82566542 100644 --- a/Content.Tests/Shared/Alert/AlertPrototypeTests.cs +++ b/Content.Tests/Shared/Alert/AlertPrototypeTests.cs @@ -4,7 +4,7 @@ using Content.Shared.Alert; using NUnit.Framework; using Robust.Shared.IoC; using Robust.Shared.Serialization.Manager; -using Robust.Shared.Serialization.Markdown; +using Robust.Shared.Serialization.Markdown.Mapping; using Robust.Shared.Utility; using YamlDotNet.RepresentationModel; diff --git a/Content.Tests/Shared/Chemistry/ReagentPrototype_Tests.cs b/Content.Tests/Shared/Chemistry/ReagentPrototype_Tests.cs index 0d982fa7e4..ddafce193b 100644 --- a/Content.Tests/Shared/Chemistry/ReagentPrototype_Tests.cs +++ b/Content.Tests/Shared/Chemistry/ReagentPrototype_Tests.cs @@ -4,7 +4,7 @@ using NUnit.Framework; using Robust.Shared.IoC; using Robust.Shared.Maths; using Robust.Shared.Serialization.Manager; -using Robust.Shared.Serialization.Markdown; +using Robust.Shared.Serialization.Markdown.Mapping; using Robust.Shared.Utility; using YamlDotNet.RepresentationModel;