diff options
Diffstat (limited to 'src/NBT/ShortTag.hpp')
-rw-r--r-- | src/NBT/ShortTag.hpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/NBT/ShortTag.hpp b/src/NBT/ShortTag.hpp index c08e1fe..c66dc05 100644 --- a/src/NBT/ShortTag.hpp +++ b/src/NBT/ShortTag.hpp @@ -34,15 +34,13 @@ namespace NBT { class ShortTag : public Tag { private: - friend class Tag; - const uint8_t *ptr; +public: ShortTag(Buffer *buffer) { ptr = buffer->get(2); } -public: virtual Type getType() const { return Type::Short; } |