summaryrefslogtreecommitdiff
path: root/mcmap/examples/addchunk/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'mcmap/examples/addchunk/main.go')
-rw-r--r--mcmap/examples/addchunk/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/mcmap/examples/addchunk/main.go b/mcmap/examples/addchunk/main.go
index 0ca763f..c1920fd 100644
--- a/mcmap/examples/addchunk/main.go
+++ b/mcmap/examples/addchunk/main.go
@@ -33,6 +33,7 @@ func main() {
})
chunk.RecalcHeightMap()
+ chunk.MarkModified()
if err := chunk.MarkUnused(); err != nil {
fmt.Fprintf(os.Stderr, "Could not MarkUnused(): %s\n", err)
os.Exit(1)