From 9b06e52b3311bafa42efc3c86af58648c7aba7af Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Mon, 2 Oct 2023 18:51:27 +1100 Subject: [PATCH] Fix sericulture (#20673) --- Content.Shared/Sericulture/SericultureComponent.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Content.Shared/Sericulture/SericultureComponent.cs b/Content.Shared/Sericulture/SericultureComponent.cs index 23143f5ac4..c98a2171b0 100644 --- a/Content.Shared/Sericulture/SericultureComponent.cs +++ b/Content.Shared/Sericulture/SericultureComponent.cs @@ -23,18 +23,18 @@ public sealed partial class SericultureComponent : Component /// /// What will be produced at the end of the action. /// - [DataField("entityProduced", required: true, customTypeSerializer: typeof(PrototypeIdSerializer))] + [DataField(required: true)] [ViewVariables(VVAccess.ReadWrite)] [AutoNetworkedField] - public string EntityProduced = string.Empty; + public EntProtoId EntityProduced; /// /// The entity needed to actually preform sericulture. This will be granted (and removed) upon the entity's creation. /// - [DataField("action", required: true, customTypeSerializer: typeof(PrototypeIdSerializer))] + [DataField(required: true)] [ViewVariables(VVAccess.ReadWrite)] [AutoNetworkedField] - public string Action = string.Empty; + public EntProtoId Action; [AutoNetworkedField] [DataField("actionEntity")] -- 2.51.2