kiooeht / ModTheSpire

External mod loader for Slay The Spire
MIT License
411 stars 87 forks source link

mods not working #166

Open Hatter713 opened 5 years ago

Hatter713 commented 5 years ago

Before submitting, have you read the Troubleshooting guide? Yes/No.

Crash Log

ModVersion Info:
 - Java version (1.8.0_144)
 - Slay the Spire (null)
 - ModTheSpire (3.6.3)
Mod list:
 - basemod (5.5.0)
 - coloredmap (2.4.0)

Begin patching...
Finding core patches...
Finding patches...
Patching Overrides...
Injecting patches...
Patch Class: [basemod.patches.whatmod.PlayerPowerTips]
 - Patching [com.megacrit.cardcrawl.core.AbstractCreature.renderPowerTips(com.badlogic.gdx.graphics.g2d.SpriteBatch)]
 - Adding Insert @ r2 (abs:819)...

com.evacipated.cardcrawl.modthespire.patcher.PatchingException: javassist.CannotCompileException: [source error] no such field: p
    at com.evacipated.cardcrawl.modthespire.patcher.InsertPatchInfo.doPatch(InsertPatchInfo.java:209)
    at com.evacipated.cardcrawl.modthespire.Patcher.finalizePatches(Patcher.java:150)
    at com.evacipated.cardcrawl.modthespire.Loader.runMods(Loader.java:207)
    at com.evacipated.cardcrawl.modthespire.ui.ModSelectWindow.lambda$null$1(ModSelectWindow.java:266)
    at java.lang.Thread.run(Thread.java:748)
Caused by: javassist.CannotCompileException: [source error] no such field: p
    at javassist.CtBehavior.insertAt(CtBehavior.java:1213)
    at javassist.CtBehavior.insertAt(CtBehavior.java:1140)
    at com.evacipated.cardcrawl.modthespire.patcher.InsertPatchInfo.doPatch(InsertPatchInfo.java:183)
    at com.evacipated.cardcrawl.modthespire.patcher.InsertPatchInfo.doPatch(InsertPatchInfo.java:207)
    ... 4 more
Caused by: compile error: no such field: p
    at javassist.compiler.TypeChecker.fieldAccess(TypeChecker.java:845)
    at javassist.compiler.TypeChecker.atFieldRead(TypeChecker.java:803)
    at javassist.compiler.TypeChecker.atMember(TypeChecker.java:988)
    at javassist.compiler.JvstTypeChecker.atMember(JvstTypeChecker.java:66)
    at javassist.compiler.ast.Member.accept(Member.java:39)
    at javassist.compiler.JvstTypeChecker.atMethodArgs(JvstTypeChecker.java:221)
    at javassist.compiler.TypeChecker.atMethodCallCore(TypeChecker.java:735)
    at javassist.compiler.TypeChecker.atCallExpr(TypeChecker.java:695)
    at javassist.compiler.JvstTypeChecker.atCallExpr(JvstTypeChecker.java:157)
    at javassist.compiler.ast.CallExpr.accept(CallExpr.java:46)
    at javassist.compiler.CodeGen.doTypeCheck(CodeGen.java:242)
    at javassist.compiler.CodeGen.atStmnt(CodeGen.java:330)
    at javassist.compiler.ast.Stmnt.accept(Stmnt.java:50)
    at javassist.compiler.CodeGen.atStmnt(CodeGen.java:351)
    at javassist.compiler.ast.Stmnt.accept(Stmnt.java:50)
    at javassist.compiler.Javac.compileStmnt(Javac.java:567)
    at javassist.CtBehavior.insertAt(CtBehavior.java:1192)
    ... 7 more

Additional context Add any other context about the problem here.