Built castle heart total not updating in client if CastleHeartLimitType changes on server
I encountered a bug this morning on my self-hosted dedicated server, where my built castle heart amount did not update after CastleHeartLimitType changed from "clan" to "user" on the server (CastleLimit was left set to 5)
Steps that caused the issue:
1. Created a clan while CastleHeartLimitType is set to "clan", and invited 2 players (each with 1 castle heart each), bringing the total number of castle hearts to 3 (showing 3/5).
2. Updated CastleHeartLimitType to "user", and restarted server.
3. Invited one new player to the clan, and they were showing 1/5 on their client.
4. My own client was still showing 3/5 castle hearts (even though there were technically 4 in the clan at this point)
5. I built a second heart myself, which finally caused my client to update, which then showed the correct 2/5 amount.