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

if planetary conditions are disabled in options don't send conditions … #4066

Merged
merged 2 commits into from
May 8, 2024

Conversation

kuronekochomusuke
Copy link
Collaborator

  • if planetary conditions are disabled in campaign options, don't send conditions to megamek

fixes #4062

@Sleet01
Copy link
Collaborator

Sleet01 commented May 8, 2024

Looks like testFactionBorderTrackerAllPlanets is failing, but only under Temurin 17; this usually indicates a spy or mock issue due to Java 17's more restrictive reflection rules.

One option is to rewrite the test, but the other is to annotate it to be ignored only under Temurin 17:

@DisabledForJreRange(min = JRE.JAVA_17, max = JRE.OTHER)

Copy link
Collaborator

@Sleet01 Sleet01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@Sleet01 Sleet01 merged commit 33a36ea into MegaMek:master May 8, 2024
3 of 4 checks passed
@kuronekochomusuke kuronekochomusuke deleted the issue_4062 branch November 11, 2024 22:55
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.

StratCon is generating missions with weather modifiers when they are disabled
2 participants