summaryrefslogtreecommitdiff
path: root/mcmap/region.go
diff options
context:
space:
mode:
Diffstat (limited to 'mcmap/region.go')
-rw-r--r--mcmap/region.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/mcmap/region.go b/mcmap/region.go
index 8467bbf..25c6d19 100644
--- a/mcmap/region.go
+++ b/mcmap/region.go
@@ -97,10 +97,10 @@ func (reg *Region) MaxDims() (xmin, xmax, zmin, zmax int) {
xmax++
zmax++
- xmin *= 16
- xmax *= 16
- zmin *= 16
- zmax *= 16
+ xmin *= 32
+ xmax *= 32
+ zmin *= 32
+ zmax *= 32
return
}
@@ -250,8 +250,8 @@ func (reg *Region) AllChunks() <-chan XZPos {
go func(ch chan<- XZPos) {
for spos, _ := range reg.superchunksAvail {
scx, scz := spos.X, spos.Z
- for rx := 0; rx < 16; rx++ {
- for rz := 0; rz < 16; rz++ {
+ for rx := 0; rx < 32; rx++ {
+ for rz := 0; rz < 32; rz++ {
cx, cz := superchunkToChunk(scx, scz, rx, rz)
ch <- XZPos{cx, cz}
}