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