diff options
Diffstat (limited to 'mcmap/examples/mapper')
-rw-r--r-- | mcmap/examples/mapper/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mcmap/examples/mapper/main.go b/mcmap/examples/mapper/main.go index e998ce1..2cbcefb 100644 --- a/mcmap/examples/mapper/main.go +++ b/mcmap/examples/mapper/main.go @@ -60,7 +60,7 @@ chunkLoop: } } - if err := region.UnloadChunk(cx, cz); err != nil { + if err := chunk.MarkUnused(); err != nil { fmt.Fprintf(os.Stderr, "Error while unloading chunk %d, %d: %s\n", cx, cz, err) os.Exit(1) } |