diff --git a/WFBot/Features/Utils/WFObjects.cs b/WFBot/Features/Utils/WFObjects.cs index b90d2ea..aca7359 100644 --- a/WFBot/Features/Utils/WFObjects.cs +++ b/WFBot/Features/Utils/WFObjects.cs @@ -1782,8 +1782,14 @@ public class WFInvasion } public class Attacker { + private RewardInfo reward; + [JsonProperty("reward", NullValueHandling = NullValueHandling.Include)] - public RewardInfo Reward { get; set; } + public RewardInfo Reward + { + get => reward ?? new RewardInfo(); + set => reward = value; + } [JsonProperty("faction")] public string Faction { get; set; }