Skip to content

Commit

Permalink
okay then
Browse files Browse the repository at this point in the history
  • Loading branch information
Bradley Watton committed Oct 23, 2020
1 parent c974ae3 commit b7bfee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Region.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

}

0 comments on commit b7bfee2

Please sign in to comment.