diff --git a/codebook-cli/src/main/java/io/papermc/codebook/cli/Main.java b/codebook-cli/src/main/java/io/papermc/codebook/cli/Main.java index ce94d1b..70c6219 100644 --- a/codebook-cli/src/main/java/io/papermc/codebook/cli/Main.java +++ b/codebook-cli/src/main/java/io/papermc/codebook/cli/Main.java @@ -469,7 +469,7 @@ private CodeBookContext createContext() { } return CodeBookContext.builder() - .tempDir(tempDir) + .tempDir(this.tempDir) .remapperJar(remapper) .mappings(mappings) .paramMappings(paramMappings) diff --git a/src/main/java/io/papermc/codebook/pages/RemapJarPage.java b/src/main/java/io/papermc/codebook/pages/RemapJarPage.java index 8646b51..902677f 100644 --- a/src/main/java/io/papermc/codebook/pages/RemapJarPage.java +++ b/src/main/java/io/papermc/codebook/pages/RemapJarPage.java @@ -56,7 +56,6 @@ public void exec() { final Path remapped = this.tempDir.resolve("remapped.jar"); JarRunner.of("AutoRenamingTool", this.remapper) - .withMainClass("net.minecraftforge.fart.Main") .withArgs( "--input=" + IOUtil.absolutePathString(this.inputJar), "--output=" + IOUtil.absolutePathString(remapped),