it does you know

This commit is contained in:
Holly Stubbs 2021-08-21 08:22:23 +01:00
parent 6479aad437
commit ec71e933eb

View file

@ -53,6 +53,7 @@ function doChunk(chunk) {
writer.writeByte(127); // Size Y writer.writeByte(127); // Size Y
writer.writeByte(15); // Size Z 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 blocks = new bufferStuff.Writer(32768);
const metadata = new bufferStuff.Writer(32768); const metadata = new bufferStuff.Writer(32768);
const lighting = new bufferStuff.Writer(32768); const lighting = new bufferStuff.Writer(32768);