Remove field: from DataField attributes (#3932)
This commit is contained in:
@@ -10,19 +10,19 @@ namespace Content.Shared.Stacks
|
||||
public class StackPrototype : IPrototype
|
||||
{
|
||||
[ViewVariables]
|
||||
[field: DataField("id", required: true)]
|
||||
[DataField("id", required: true)]
|
||||
public string ID { get; } = default!;
|
||||
|
||||
[field: DataField("name")]
|
||||
[DataField("name")]
|
||||
public string Name { get; } = string.Empty;
|
||||
|
||||
[field: DataField("icon")]
|
||||
[DataField("icon")]
|
||||
public SpriteSpecifier? Icon { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The entity id that will be spawned by default from this stack.
|
||||
/// </summary>
|
||||
[field: DataField("spawn")]
|
||||
[DataField("spawn")]
|
||||
public string? Spawn { get; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user