summaryrefslogtreecommitdiffstats
path: root/src/MinedMap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/MinedMap.cpp')
-rw-r--r--src/MinedMap.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/MinedMap.cpp b/src/MinedMap.cpp
index 8759d9d..fea62ce 100644
--- a/src/MinedMap.cpp
+++ b/src/MinedMap.cpp
@@ -42,14 +42,7 @@ int main(int argc, char *argv[]) {
World::Region region(argv[1]);
const World::Chunk &chunk = *region(0, 0);
-
- for (auto &entry : chunk.getSections()) {
- std::cout << entry->getType() << ":" << std::endl;
-
- for (auto &entry2 : *entry) {
- std::cout << entry2.first << " " << entry2.second->getType() << std::endl;
- }
- }
+ World::Chunk::Blocks layer = chunk.getTopLayer();
return 0;
}