summaryrefslogtreecommitdiff
path: root/mcmap/examples/emeraldfinder
diff options
context:
space:
mode:
Diffstat (limited to 'mcmap/examples/emeraldfinder')
-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()
}
}