Validate prototype ids in c# fields (#18224)
This commit is contained in:
@@ -49,6 +49,6 @@ namespace Content.Shared.Traits
|
||||
/// Gear that is given to the player, when they pick this trait.
|
||||
/// </summary>
|
||||
[DataField("traitGear", required: false, customTypeSerializer:typeof(PrototypeIdSerializer<EntityPrototype>))]
|
||||
public string TraitGear = string.Empty;
|
||||
public string? TraitGear;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user