summaryrefslogtreecommitdiff
path: root/mcmap/examples/emeraldfinder/main.go
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2013-08-12 14:59:37 +0200
committerKevin Chabowski <kevin@kch42.de>2013-08-12 14:59:37 +0200
commit230c827d579d868327f7b0ef31284e1154c80f06 (patch)
tree5a116ac75e15469989330bb3e33be09d9520b5a2 /mcmap/examples/emeraldfinder/main.go
parent40b8da6d026d43328242b252aea3a09f8939e756 (diff)
downloadgomcmap-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/emeraldfinder/main.go')
-rw-r--r--mcmap/examples/emeraldfinder/main.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/mcmap/examples/emeraldfinder/main.go b/mcmap/examples/emeraldfinder/main.go
index 8cd1260..d92ad3c 100644
--- a/mcmap/examples/emeraldfinder/main.go
+++ b/mcmap/examples/emeraldfinder/main.go
@@ -48,7 +48,6 @@ chunkLoop:
}
}
- chunk = nil
- region.UnloadChunk(cx, cz)
+ chunk.MarkUnused()
}
}