Skip to content

Commit ee38053

Browse files
committed
Enable offset matching for mcp patches.
1 parent c5ce9ab commit ee38053

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mcp/java/net/minecraftforge/gradle/mcp/function/PatchFunction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public File execute(MCPEnvironment environment) throws Exception {
7575
.patchesPrefix(path)
7676
.outputPath(output.toPath())
7777
.verbose(false)
78-
.mode(PatchMode.ACCESS)
78+
.mode(PatchMode.OFFSET)
7979
.rejectsPath(rejects.toPath())
8080
.build()
8181
.operate();

0 commit comments

Comments
 (0)