From ec71e933eba29581322dd50f151a051b008b25f2 Mon Sep 17 00:00:00 2001 From: holly Date: Sat, 21 Aug 2021 08:22:23 +0100 Subject: [PATCH] it does you know --- server/Workers/ChunkWorker.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server/Workers/ChunkWorker.js b/server/Workers/ChunkWorker.js index 8e774eb..587cc64 100644 --- a/server/Workers/ChunkWorker.js +++ b/server/Workers/ChunkWorker.js @@ -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);