Skip to content

Commit

Permalink
Remove unnecessary hardcoded main class
Browse files Browse the repository at this point in the history
  • Loading branch information
DenWav committed May 5, 2024
1 parent 60ef0d7 commit 119cedb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ private CodeBookContext createContext() {
}

return CodeBookContext.builder()
.tempDir(tempDir)
.tempDir(this.tempDir)
.remapperJar(remapper)
.mappings(mappings)
.paramMappings(paramMappings)
Expand Down
1 change: 0 additions & 1 deletion src/main/java/io/papermc/codebook/pages/RemapJarPage.java
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 119cedb

Please sign in to comment.