This commit is contained in:
Tnze
2022-11-17 00:32:38 +08:00
parent 7a2b3da584
commit 3e83d1dbca
8 changed files with 9 additions and 9 deletions

View File

@ -221,7 +221,7 @@ func (r *Region) WriteSector(x, z int, data []byte) error {
return nil
}
// ExistSector return if a sector is exist
// ExistSector return if a sector is existed
func (r *Region) ExistSector(x, z int) bool {
return r.offsets[z][x] != 0
}