summaryrefslogtreecommitdiffstats
path: root/src/World/Chunk.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/World/Chunk.hpp')
-rw-r--r--src/World/Chunk.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/World/Chunk.hpp b/src/World/Chunk.hpp
index d4213b3..4bd301d 100644
--- a/src/World/Chunk.hpp
+++ b/src/World/Chunk.hpp
@@ -52,7 +52,7 @@ public:
private:
std::shared_ptr<const NBT::CompoundTag> level;
- std::shared_ptr<const NBT::ListTag<NBT::CompoundTag>> sections;
+ std::shared_ptr<const NBT::ListTag> sections;
unsigned maxY;
@@ -107,7 +107,7 @@ public:
return *level;
}
- const NBT::ListTag<NBT::CompoundTag> & getSections() const {
+ const NBT::ListTag & getSections() const {
return *sections;
}