Skip to content

Commit

Permalink
Fix V7Fix, should fix crash with older presets
Browse files Browse the repository at this point in the history
  • Loading branch information
Barteks2x committed Jan 22, 2025
1 parent 1c4494a commit cb87d6a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
public class V7Fix implements IJsonFix {

private final JsonTransformer<Function<JsonObject, JsonObject>> transformer = JsonTransformer.<Function<JsonObject, JsonObject>>builder("V6 -> V7")
.valueTransform("version", (e, ctx) -> new JsonPrimitive(6))
.valueTransform("version", (e, ctx) -> new JsonPrimitive(7))
.passthroughFor(
"caves",
"strongholds", "alternateStrongholdsPositions",
Expand Down

0 comments on commit cb87d6a

Please sign in to comment.