diff options
author | Kevin Chabowski <kevin@kch42.de> | 2013-08-12 14:59:37 +0200 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2013-08-12 14:59:37 +0200 |
commit | 230c827d579d868327f7b0ef31284e1154c80f06 (patch) | |
tree | 5a116ac75e15469989330bb3e33be09d9520b5a2 /mcmap/examples/mapper | |
parent | 40b8da6d026d43328242b252aea3a09f8939e756 (diff) | |
download | gomcmap-230c827d579d868327f7b0ef31284e1154c80f06.tar.gz gomcmap-230c827d579d868327f7b0ef31284e1154c80f06.tar.bz2 gomcmap-230c827d579d868327f7b0ef31284e1154c80f06.zip |
Chunks are now marked at unused in a function of Chunk.
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) } |