Skip to content

Conversation

@Moulberry
Copy link
Contributor

The Issue

Aims to fix this crash reported by a user: https://hst.sh/ewasamufid
It seems that when the returned list is empty, getFirst will throw a NoSuchElementException

The Proposal

Skip transform if the target instruction cannot be found

Possible Side Effects

None

Alternatives

The check could be done elsewhere, but I think this is fine

Additional Notes

None

@Su5eD Su5eD merged commit 0bc117f into Sinytra:1.21.x Dec 15, 2025
1 check 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.

2 participants