This commit is contained in:
Paul Mathieu 2021-12-17 15:51:20 -08:00
parent 4be09f8d45
commit a20d203bae

View File

@ -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,
}