mirror of
https://github.com/minetest/minetestmapper.git
synced 2024-12-26 02:40:37 +01:00
Add support for recent MapBlock serialization changes
This commit is contained in:
parent
07c371f68c
commit
21444d00c3
@ -394,7 +394,9 @@ void TileGenerator::renderMap()
|
||||
//uint8_t flags = data[1];
|
||||
|
||||
size_t dataOffset = 0;
|
||||
if (version >= 22)
|
||||
if (version >= 27)
|
||||
dataOffset = 6;
|
||||
else if (version >= 22)
|
||||
dataOffset = 4;
|
||||
else
|
||||
dataOffset = 2;
|
||||
|
Loading…
Reference in New Issue
Block a user