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 for HUD text presets #5162

Merged
merged 1 commit into from
Jan 30, 2025

Conversation

Big-Iron-Cheems
Copy link
Collaborator

Type of change

  • Bug fix
  • New feature

Description

If the search bar didn't match any preset, pressing enter would crash due to a null preset trying to be instantiated.

Related issues

Closes #5159

How Has This Been Tested?

HUD editing.

Checklist:

  • My code follows the style guidelines of this project.
  • I have added comments to my code in more complex areas.
  • I have tested the code in both development and production environments.

If the search bar didn't match any preset, pressing enter would crash due to a null preset trying to be instantiated.
@ChickenStrips05
Copy link

Yay

@Wide-Cat Wide-Cat merged commit 191e4ed into MeteorDevelopment:master Jan 30, 2025
1 check passed
@Big-Iron-Cheems Big-Iron-Cheems deleted the hud-text-preset branch January 30, 2025 18:16
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.

[Bug] Game crashes after pressing 'enter' in HUD text edit search menu.
3 participants