From 230c827d579d868327f7b0ef31284e1154c80f06 Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Mon, 12 Aug 2013 14:59:37 +0200 Subject: Chunks are now marked at unused in a function of Chunk. --- mcmap/examples/replace/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mcmap/examples/replace') diff --git a/mcmap/examples/replace/main.go b/mcmap/examples/replace/main.go index 127f446..e5fff78 100644 --- a/mcmap/examples/replace/main.go +++ b/mcmap/examples/replace/main.go @@ -54,7 +54,7 @@ chunkLoop: chunk.MarkModified() } - 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) } -- cgit v1.2.3-54-g00ecf