Closed 0-x-2-2 closed 6 years ago
Can you please post the entire log. I am unable to reproduce this and wonder if I'm missing some piece of the puzzle.
As I said this is really weird I believe it might be something todo with 1.7.10 (Modified ForgeGradle 2.1 so it works with 1.7.10 without crashing on setupDevEnv) anyways I found a solution that is hackery but it works for my little mod I'm making for some friends. It seems the error was caused by having a interface.
@w-o-a-h i doubt it's relevent, but mind mentioning what the solution was?
I did this instead,
@Mixin(Minecraft.class)
public abstract class MixinMinecraft implements IMixinMinecraft {
@Accessor
abstract void setSession(Session session);
@Override
public void setSessionWrapper(Session session) {
this.setSession(sesson);
}
}
public interface IMixinMinecraft {
void setSessionWrapper(Session session);
}
This is super wierd it only happens on some mc versions but works fine on 1.8.9 and 1.12.2 and only happens if I override it from a interface.
Code that cause's this below.
Error below.