From 4288935d701a871b91838dd6c837cc6c2060271f Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 21 Jul 2018 12:17:38 +0200 Subject: NBT: fix LongArray dumping --- src/NBT/LongArrayTag.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/NBT/LongArrayTag.hpp b/src/NBT/LongArrayTag.hpp index a526b72..84e0bdf 100644 --- a/src/NBT/LongArrayTag.hpp +++ b/src/NBT/LongArrayTag.hpp @@ -57,7 +57,7 @@ public: std::string inner = indent + " "; for (size_t i = 0; i < len; i++) { - uint64_t v = Buffer::parse64(&ptr[4*i]); + uint64_t v = Buffer::parse64(&ptr[8*i]); os << inner << v << " / " -- cgit v1.2.3