summaryrefslogtreecommitdiffstats
path: root/src/NBT/LongArrayTag.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/NBT/LongArrayTag.hpp')
-rw-r--r--src/NBT/LongArrayTag.hpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/NBT/LongArrayTag.hpp b/src/NBT/LongArrayTag.hpp
index 84e0bdf..1ca3ae6 100644
--- a/src/NBT/LongArrayTag.hpp
+++ b/src/NBT/LongArrayTag.hpp
@@ -36,17 +36,15 @@ namespace NBT {
class LongArrayTag : public Tag {
private:
- friend class Tag;
-
uint32_t len;
const uint8_t *ptr;
+public:
LongArrayTag(Buffer *buffer) {
len = buffer->get32();
ptr = buffer->get(8*len);
}
-public:
virtual Type getType() const {
return Type::LongArray;
}