diff options
-rw-r--r-- | README.markdown | 2 | ||||
-rw-r--r-- | mcmap/examples/addchunk/.gitignore | 1 | ||||
-rw-r--r-- | mcmap/examples/addchunk/main.go | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/README.markdown b/README.markdown index f343f81..3a06e1f 100644 --- a/README.markdown +++ b/README.markdown @@ -20,7 +20,7 @@ Although I tested the library with some maps, I can't guarantee that everything ## Wishlist / TODO -* Adding / removing chunks. +* Removing chunks. * Recalculating light data. * Reading and modifying level.dat and other files (currently only the region files are used). * Test compatibility with older versions of Minecraft. diff --git a/mcmap/examples/addchunk/.gitignore b/mcmap/examples/addchunk/.gitignore new file mode 100644 index 0000000..ce96f38 --- /dev/null +++ b/mcmap/examples/addchunk/.gitignore @@ -0,0 +1 @@ +addchunk 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) |