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 NPE in armor type lookup for industrial. #1442

Merged
merged 1 commit into from
Feb 27, 2024
Merged

Conversation

neoancient
Copy link
Member

The trailing space on the name of industrial armor (which I still don't know the reason for, but there was a comment that says it's deliberate) is causing a failure when using a name lookup. Leaving the space out of the lookup names causes a failure when loading from mtf files, so the long term solution may be to add additional lookup names. Or remove the trailing space and see if anything breaks.

Fixes #1440

@SJuliez SJuliez merged commit f6b46be into master Feb 27, 2024
4 checks 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.

Industrial battlemech armor causes NullPointerException
2 participants