-
-
Notifications
You must be signed in to change notification settings - Fork 193
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
ModifyArg
index
is broken by instance Redirect
s
#544
Closed
LlamaLad7 opened this issue
Dec 11, 2021
· 0 comments
· Fixed by aaaapai/Mixin#1 or FabricMC/Mixin#128
Closed
ModifyArg
index
is broken by instance Redirect
s
#544
LlamaLad7 opened this issue
Dec 11, 2021
· 0 comments
· Fixed by aaaapai/Mixin#1 or FabricMC/Mixin#128
Labels
Comments
LlamaLad7
added a commit
to LlamaLad7/FabricMixin
that referenced
this issue
Jul 4, 2023
…ed non-static method call. Fixes SpongePowered#544.
Closed
Mumfrey
added a commit
that referenced
this issue
Jul 5, 2024
Mumfrey
added a commit
that referenced
this issue
Jul 6, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Given the following example case:
I am greeted with the following error:
Originally the
target
method has only a single argument of typeString
, however when theRedirect
is injected at the desired instruction, there is now aninstance
parameter as well.It seems that
index
does not take into account theinstance
parameter in the redirector which replaced the original instruction, and as such tries to target the wrong thing.It works fine when they apply the other way round, as there is only one parameter for the
ModifyArg
to look at at that point.The text was updated successfully, but these errors were encountered: