Files
MinecraftConsoles/Minecraft.Client/Common
Marlian 3bcf588fbe Fix crash when loading saved tutorial worlds (#1001)
writeRuleFile() was missing the schematic file count integer before the schematic entries. The reader in readRuleFile() expected this count, causing a stream misalignment that led to an assertion failure (Unrecognised schematic version) when reloading a saved tutorial world.

The fix writes the count on save and adds backward-compatible reading that detects old saves (without count) via a peek heuristic and falls back to count-less parsing.

Co-authored-by: MCbabel <MCbabel@users.noreply.github.com>
2026-03-09 22:02:39 -05:00
..
2026-03-08 18:08:36 -05:00
2026-03-08 18:08:36 -05:00
2026-03-08 18:08:36 -05:00
2026-03-01 12:16:08 +08:00
2026-03-06 19:14:06 -06:00
2026-03-08 18:08:36 -05:00
2026-03-01 12:16:08 +08:00
2026-03-08 18:08:36 -05:00
2026-03-08 18:08:36 -05:00
2026-03-06 19:14:06 -06:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00
2026-03-01 12:16:08 +08:00