Validate prototype ids in c# fields (#18224)
This commit is contained in:
@@ -23,6 +23,6 @@ public sealed class SalvageDungeonMod : IPrototype, IBiomeSpecificMod
|
||||
/// <summary>
|
||||
/// The config to use for spawning the dungeon.
|
||||
/// </summary>
|
||||
[DataField("proto", customTypeSerializer: typeof(PrototypeIdSerializer<DungeonConfigPrototype>))]
|
||||
[DataField("proto", customTypeSerializer: typeof(PrototypeIdSerializer<DungeonConfigPrototype>), required: true)]
|
||||
public string Proto = string.Empty;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user