From a20d203baee3d5218d7d6cc2035fea0282ac3d58 Mon Sep 17 00:00:00 2001 From: Paul Mathieu Date: Fri, 17 Dec 2021 15:51:20 -0800 Subject: [PATCH] Grr typo --- world.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/world.js b/world.js index 50fc4d3..3291f1f 100644 --- a/world.js +++ b/world.js @@ -88,7 +88,7 @@ function makeChunk(z, x) { } export function blockLookup(world, x, y, z) { - if (y < 0.5 || z > 255.5) { + if (y < 0.5 || y > 255.5) { return { type: BlockType.UNDEFINED, }