Support for >=27 Mapblocks
This commit is contained in:
parent
a270c6077b
commit
020eafd7c6
@ -1623,7 +1623,10 @@ void TileGenerator::processMapBlock(const DB::Block &block)
|
|||||||
//uint8_t flags = readU8(data, 1, length);
|
//uint8_t flags = readU8(data, 1, length);
|
||||||
|
|
||||||
size_t dataOffset = 0;
|
size_t dataOffset = 0;
|
||||||
if (version >= 22) {
|
if (version >= 27) {
|
||||||
|
dataOffset = 6;
|
||||||
|
}
|
||||||
|
else if (version >= 22) {
|
||||||
dataOffset = 4;
|
dataOffset = 4;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user