Skip to content

Commit

Permalink
可恶, 不能达成完全的作战
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRealKamisama committed Apr 1, 2024
1 parent e6d38bd commit f97b9ce
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion WFBot/Features/Utils/WFObjects.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand Down

0 comments on commit f97b9ce

Please sign in to comment.