Skip to content

Commit cb87d6a

Browse files
committed
Fix V7Fix, should fix crash with older presets
1 parent 1c4494a commit cb87d6a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/main/java/io/github/opencubicchunks/cubicchunks/cubicgen/preset/fixer

src/main/java/io/github/opencubicchunks/cubicchunks/cubicgen/preset/fixer/V7Fix.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
public class V7Fix implements IJsonFix {
3636

3737
private final JsonTransformer<Function<JsonObject, JsonObject>> transformer = JsonTransformer.<Function<JsonObject, JsonObject>>builder("V6 -> V7")
38-
.valueTransform("version", (e, ctx) -> new JsonPrimitive(6))
38+
.valueTransform("version", (e, ctx) -> new JsonPrimitive(7))
3939
.passthroughFor(
4040
"caves",
4141
"strongholds", "alternateStrongholdsPositions",

0 commit comments

Comments
 (0)