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 NPE in AutoAwardsController #4685

Merged
merged 1 commit into from
Aug 21, 2024
Merged

Conversation

IllianiCBT
Copy link
Collaborator

Updated the kill filtering logic to handle cases where the mission is null, preventing a possible NPE when accessing mission details.

Closes #4683

Updated the kill filtering logic to handle cases where the mission is null, preventing a possible NPE when accessing mission details.
@codecov-commenter
Copy link

codecov-commenter commented Aug 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 10.80%. Comparing base (7c8488d) to head (65ca9e2).
Report is 32 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #4685   +/-   ##
=========================================
  Coverage     10.79%   10.80%           
- Complexity     5710     5712    +2     
=========================================
  Files           950      950           
  Lines        131271   131275    +4     
  Branches      19135    19132    -3     
=========================================
+ Hits          14177    14188   +11     
+ Misses       115875   115864   -11     
- Partials       1219     1223    +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Sleet01 Sleet01 self-requested a review August 21, 2024 18:09
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.

LGTM

@Sleet01 Sleet01 merged commit 5e7c515 into MegaMek:master Aug 21, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Auto Awards not issuing, throws exception on run
3 participants