From b7bfee2056c8686f3523c780ec76deec59f86b89 Mon Sep 17 00:00:00 2001 From: Bradley Watton Date: Fri, 23 Oct 2020 02:19:59 +0100 Subject: [PATCH] okay then --- src/Region.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Region.ts b/src/Region.ts index fdb8db7..f205f39 100644 --- a/src/Region.ts +++ b/src/Region.ts @@ -84,7 +84,7 @@ export class Region { } public hasChunk(x: number, z: number): boolean { - return this.getChunkOffset(x, z) !== 0 + return this.getChunkLocationItem(x, z) !== null } }