Skip to content

Commit e93c850

Browse files
committed
fixed trailing zero #26
1 parent 57c782f commit e93c850

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/minecraftforge/gradle/sourcemanip/FFPatcher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public static String processFile(String fileName, String text) throws IOExceptio
8282
}
8383

8484
text = text.replaceAll(EMPTY_SUPER, "");
85-
text = text.replaceAll(TRAILINGZERO, "");
85+
text = text.replaceAll(TRAILINGZERO, "$1$2");
8686
text = text.replaceAll(NEWLINES, Constants.NEWLINE);
8787

8888
text = text.replaceAll("(\\r\\n|\\r|\\n)", Constants.NEWLINE);

0 commit comments

Comments
 (0)