From aafee602e9221c47ea2ab5884be39d4f95754e9d Mon Sep 17 00:00:00 2001 From: Holly Date: Sun, 24 Oct 2021 01:28:06 +0100 Subject: [PATCH] chunk limiter had the wrong value --- server/server.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/server.js b/server/server.js index 65034de..4f85f49 100644 --- a/server/server.js +++ b/server/server.js @@ -86,7 +86,6 @@ module.exports.init = function(config) { // Do chunk updates // Don't update if chunk is generating if (global.chunkManager.queuedBlockUpdates.getLength() > 0) { - console.log("Queue length: " + global.chunkManager.queuedBlockUpdates.getLength()) let itemsToRemove = []; // Do a max of 128 block updates per tick for (let i = 0; i < Math.min(global.chunkManager.queuedBlockUpdates.getLength(), 128); i++) { @@ -94,7 +93,7 @@ module.exports.init = function(config) { const chunkUpdate = global.chunkManager.queuedBlockUpdates.items[chunkUpdateKey]; // TODO: Remove this once infinite terrain is in :) - if (chunkUpdate[0] < -3 || chunkUpdate[0] > 4 || chunkUpdate[1] < -3 || chunkUpdate[1] > 4) { + if (chunkUpdate[0] < -3 || chunkUpdate[0] > 3 || chunkUpdate[1] < -3 || chunkUpdate[1] > 3) { itemsToRemove.push(chunkUpdateKey, false); continue; }