abstract prototype id validation (#7519)

This commit is contained in:
Paul Ritter
2022-04-15 23:34:28 +02:00
committed by GitHub
parent f17b2835c5
commit f12b9fd511
5 changed files with 4 additions and 5 deletions

View File

@@ -13,7 +13,7 @@ namespace Content.Shared.Maps
[Prototype("tile")]
public sealed class ContentTileDefinition : IPrototype, IInheritingPrototype, ITileDefinition
{
[ParentDataFieldAttribute(typeof(PrototypeIdSerializer<ContentTileDefinition>))]
[ParentDataFieldAttribute(typeof(AbstractPrototypeIdSerializer<ContentTileDefinition>))]
public string? Parent { get; private set; }
[NeverPushInheritance]