Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed crash related to AI trying to value an unmet city-state #10853

Merged
merged 1 commit into from
Jan 4, 2024

Conversation

tuvus
Copy link
Collaborator

@tuvus tuvus commented Jan 2, 2024

Fixes #10852
The problem was that an AI civ was trying to determine if it should liberate a city-state it hadn't yet met. Therefore, this caused an error since the diplomacy manager pair did not exist.
The fix is simple and would take longer to explain than read.

@SomeTroglodyte
Copy link
Collaborator

longer

True, but: Kdoc to both @throws NullPointerException when...

@yairm210 yairm210 merged commit 1a0bdff into yairm210:master Jan 4, 2024
3 checks passed
@tuvus tuvus deleted the ValueCityStateAllianceErrorFix branch June 1, 2024 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash with NullPointerException
3 participants