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