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 = {};