mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-07-01 05:29:05 +02:00
NBT: rework type system
This commit is contained in:
parent
315bb38444
commit
f1f783877f
17 changed files with 162 additions and 228 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue