Add missing constructor in RandomSpawnLootEntry struct (#21721)

This commit is contained in:
DrSmugleaf
2023-11-17 09:21:15 -08:00
committed by GitHub
parent 605e7f7dda
commit 9ec80aad9a

View File

@@ -14,7 +14,7 @@ public sealed partial class RandomSpawnsLoot : IDungeonLoot
}
[DataDefinition]
public partial record struct RandomSpawnLootEntry : IBudgetEntry
public partial record struct RandomSpawnLootEntry() : IBudgetEntry
{
[ViewVariables(VVAccess.ReadWrite), DataField("proto", required: true, customTypeSerializer:typeof(PrototypeIdSerializer<EntityPrototype>))]
public string Proto { get; set; } = string.Empty;