it does you know

This commit is contained in:
Holly Stubbs 2021-08-21 08:22:23 +01:00
parent 6479aad437
commit ec71e933eb
1 changed files with 1 additions and 0 deletions

View File

@ -53,6 +53,7 @@ function doChunk(chunk) {
writer.writeByte(127); // Size Y
writer.writeByte(15); // Size Z
// pre-alloc since doing an alloc 98,304 times takes a while yknow.
const blocks = new bufferStuff.Writer(32768);
const metadata = new bufferStuff.Writer(32768);
const lighting = new bufferStuff.Writer(32768);