diff --git a/EDPlayerJournal/Entries/SellOrganicDataEntry.cs b/EDPlayerJournal/Entries/SellOrganicDataEntry.cs index 269c28b..b9d866f 100644 --- a/EDPlayerJournal/Entries/SellOrganicDataEntry.cs +++ b/EDPlayerJournal/Entries/SellOrganicDataEntry.cs @@ -8,11 +8,17 @@ public class BioData { public string? SpeciesLocalised { get; set; } public long Value { get; set; } = 0; public long Bonus { get; set; } = 0; - public long TotalValue => Value + Bonus; + + public long TotalValue { + get { + return Value + Bonus; + } + } } public class SellOrganicDataEntry : Entry { public long MarketID { get; set; } - public List BioData => new List(); + + public List BioData { get; } = new(); protected override void Initialise() { MarketID = JSON.Value("MarketID") ?? 0;