Skip to content

Conversation

@deirn
Copy link
Member

@deirn deirn commented Dec 19, 2025

Workaround for #155

NonNullList doesn't itself implement List#add, and instead it comes from AbstractList from the java.
The "correct" way to resolve this would be to fix the method resolution inside ClassInstance, but I'm not sure how w.r.t. multi release jar, hence the workaround.

@deirn
Copy link
Member Author

deirn commented Dec 19, 2025

I'm not sure why the test is failing, I can run the test class I touch via IntelliJ just fine.

@modmuss50 modmuss50 merged commit 5d55be6 into FabricMC:master Dec 21, 2025
3 checks passed
@deirn deirn deleted the deirn/155-workaround branch December 21, 2025 18:18
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.

Failure to remap Mixin method reference if the class it is in is obfuscated, but it is an override of a non-obfuscated method.

2 participants