Skip to content

fix: Fixed null return from command suggester causing game crash - #6

Merged
maDU59 merged 1 commit into
maDU59:mainfrom
Huauaua:fix-bug
Dec 4, 2025
Merged

maDU59 merged 1 commit into
maDU59:mainfrom
Huauaua:fix-bug

Conversation

@Huauaua

@Huauaua Huauaua commented Dec 4, 2025

Copy link
Copy Markdown

Modified line 16 in ClientCommands.java
Ensured suggestMatching() does not receive null parameters
Returns empty list instead of null

Modified line 16 in ClientCommands.java

Ensured suggestMatching() does not receive null parameters

Returns empty list instead of null

@maDU59 maDU59 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Seems good, I didn't know that was an issue, thanks!

@maDU59
maDU59 merged commit 29e1274 into maDU59:main Dec 4, 2025
1 check passed
@maDU59

maDU59 commented Dec 4, 2025

Copy link
Copy Markdown
Owner

This fix has been uploaded to Modrinth and you're credited in the release's notes

@Huauaua
Huauaua deleted the fix-bug branch December 5, 2025 06:06
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.

2 participants