Skip to content

Commit f3ad67e

Browse files
committed
fix(#15): Remap copyContentOnly to shallowCopy instead of copy
It seems that the preprocessor picked up on `copyContentOnly` in 1.19 being `copy` in 1.18, but it's actually `shallowCopy` in 1.18.
1 parent c03eccb commit f3ad67e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

root.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ configurations.register("compileClasspath")
77

88
preprocess {
99
"1.19"(11900, "yarn") {
10-
"1.18.2"(11802, "yarn")
10+
"1.18.2"(11802, "yarn", file("versions/1.19-1.18.2.txt"))
1111
}
1212
}

versions/1.19-1.18.2.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
net.minecraft.text.Text copyContentOnly() net.minecraft.text.Text shallowCopy()

0 commit comments

Comments
 (0)