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

Fix "Attackers and defenders collections must be distinct". #11959

Merged
merged 2 commits into from
Sep 13, 2023

Conversation

asvitkine
Copy link
Contributor

@asvitkine asvitkine commented Sep 13, 2023

Change Summary & Additional Notes

This was caused by cantMoveUnits containing duplicates in some cases. Changed to a Set to prevent that.

Also cleans up some logic.
Fixes: #11851

Release Note

This was caused by cantMoveUnits containing duplicates in some cases. Changed to a Set to prevent that.

Also cleans up some logic.
Fixes: triplea-game#11851
@asvitkine asvitkine merged commit e23ee69 into triplea-game:master Sep 13, 2023
1 check passed
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.

ConcurrentBattleCalculator#calculate:196 - java.lang.IllegalStateException
1 participant