diff options
Diffstat (limited to 'mcmap/examples/replace')
| -rw-r--r-- | mcmap/examples/replace/main.go | 2 | 
1 files changed, 1 insertions, 1 deletions
| 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)  		} | 
