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/modifyarg(s) after redirect #128

Merged
merged 2 commits into from
Mar 3, 2024

Conversation

LlamaLad7
Copy link
Collaborator

@LlamaLad7 LlamaLad7 commented Mar 1, 2024

Currently @ModifyArg(s) doesn't check whether the targeted call has been redirected and as a result there are errors with mismatching indices / invalid implicit discriminators.
Tested with AOF7, doesn't break anything.
Supersedes #114
Fixes SpongePowered#544

@LlamaLad7 LlamaLad7 force-pushed the fix/modifyarg(s)-after-redirect branch from b90d7a7 to b738ed2 Compare March 1, 2024 17:55
@LlamaLad7 LlamaLad7 force-pushed the fix/modifyarg(s)-after-redirect branch from b738ed2 to 9f55488 Compare March 1, 2024 17:58
Copy link
Member

@modmuss50 modmuss50 left a comment

Choose a reason for hiding this comment

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

Looks good, at least to my untrained eye

@modmuss50 modmuss50 merged commit 3eb5281 into FabricMC:main Mar 3, 2024
4 checks passed
LlamaLad7 added a commit that referenced this pull request Jul 9, 2024
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.

ModifyArg index is broken by instance Redirects
2 participants