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.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/NBT/ByteTag.hpp b/src/NBT/ByteTag.hpp
index cc4aba9..64bdaa1 100644
--- a/src/NBT/ByteTag.hpp
+++ b/src/NBT/ByteTag.hpp
@@ -39,7 +39,7 @@ private:
uint8_t value;
ByteTag(Buffer *buffer) {
- value = buffer->get();
+ value = buffer->get8();
}
public: