fix it for deflate as well oops
This commit is contained in:
parent
f8a52dfc98
commit
dd257acfe2
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ export class WorldSaveManager {
|
||||||
}
|
}
|
||||||
|
|
||||||
const chunkData = new Reader(data);
|
const chunkData = new Reader(data);
|
||||||
const chunk = new Chunk(world, x, z, chunkData.readBuffer(totalByteSize).buffer, chunkData.readBuffer(totalByteSize / 2).buffer);
|
const chunk = new Chunk(world, x, z, chunkData.readUint8Array(totalByteSize), chunkData.readUint8Array(totalByteSize / 2));
|
||||||
resolve(chunk);
|
resolve(chunk);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue