summaryrefslogtreecommitdiffstats
path: root/src/NBT/LongTag.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/NBT/LongTag.hpp')
-rw-r--r--src/NBT/LongTag.hpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/NBT/LongTag.hpp b/src/NBT/LongTag.hpp
index 4f6bec3..f600d8e 100644
--- a/src/NBT/LongTag.hpp
+++ b/src/NBT/LongTag.hpp
@@ -34,15 +34,13 @@ namespace NBT {
class LongTag : public Tag {
private:
- friend class Tag;
-
const uint8_t *ptr;
+public:
LongTag(Buffer *buffer) {
ptr = buffer->get(8);
}
-public:
virtual Type getType() const {
return Type::Long;
}