tparviainen / clashofclans

A .NET library for accessing Supercell's Clash of Clans API.
https://tparviainen.github.io/clashofclans/
MIT License
23 stars 1 forks source link

"ClanCapital" village missing in enum #153

Closed dev-vinz closed 1 year ago

dev-vinz commented 1 year ago

Describe the bug It throws an error when trying to get informations about a player.

To Reproduce Call any method to get player information, for example await client.Players.GetPlayerAsync(OWNER_TAG);

Expected behavior To parse correctly the village

Execution Environment (please complete the following information):

Proposal correction As far as I've seen, simply add ClanCapital into Village enum

Additional context image

tparviainen commented 1 year ago

Thanks for reporting this issue! This will be fixed from version 8.8.1-rc1 (pre-release) onwards.

tparviainen commented 1 year ago

There is now also version 8.8.1 of the NuGet package available which has this fix.