0
This repository has been archived on 2025-04-25. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Minecraft-Overviewer/overviewer_core/nbt.py
Nicolas F d8e469b313 nbt: eagerly load the entire MCR on chunk load
During the first call to get_chunk, we can simply read the whole
region file into a BytesIO object. By then re-reading location
and timestamp data, we might make scrambled maps a lot less
likely.

Hopefully mitigates #1888.
2021-06-11 20:59:40 +02:00

11 KiB