From ec5f048d497d942976cd1e38ac921ddb7c710fe5 Mon Sep 17 00:00:00 2001 From: MayaTheShy Date: Fri, 20 Feb 2026 04:03:54 -0500 Subject: [PATCH] fix: correct function name to retrieve world blocks in chunk analysis endpoint --- server/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/server.js b/server/server.js index 5e30b70..ffba979 100644 --- a/server/server.js +++ b/server/server.js @@ -1069,7 +1069,7 @@ app.post('/api/chunks/:x/:z/analyze', (req, res) => { const maxZ = minZ + 15; // Get all blocks in the chunk from the DB - const blocks = db.getBlocksInArea(minX, -64, minZ, maxX, 320, maxZ); + const blocks = db.getWorldBlocksInArea(minX, -64, minZ, maxX, 320, maxZ); // Count ores const oreCounts = {};