mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-03-04 17:23:33 +01:00
NBT: remove unused deep Compound accessor
This commit is contained in:
parent
f1f783877f
commit
f3d65febf3
1 changed files with 0 additions and 8 deletions
|
@ -76,14 +76,6 @@ public:
|
|||
|
||||
return std::dynamic_pointer_cast<const T>(it->second);
|
||||
}
|
||||
|
||||
template<typename T, typename... Args> std::shared_ptr<const T> get(const std::string &key, const Args &...args) const {
|
||||
std::shared_ptr<const CompoundTag> tag = get<CompoundTag>(key);
|
||||
if (!tag)
|
||||
return std::shared_ptr<const T>();
|
||||
|
||||
return tag->get<T>(args...);
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue