diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2018-07-21 18:07:45 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2018-07-21 18:11:59 +0200 |
commit | f1f783877f0f8338a225244faff4e40efe10a4ce (patch) | |
tree | e071d5df7024fbc3c72713517672f217096ea47f /src/World/Chunk.hpp | |
parent | 315bb38444b8e363b4d8f2702d45d42fa585f619 (diff) | |
download | MinedMap-f1f783877f0f8338a225244faff4e40efe10a4ce.tar MinedMap-f1f783877f0f8338a225244faff4e40efe10a4ce.zip |
NBT: rework type system
Diffstat (limited to 'src/World/Chunk.hpp')
-rw-r--r-- | src/World/Chunk.hpp | 4 |
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; } |