summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2018-07-21 12:17:38 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2018-07-21 12:17:38 +0200
commit4288935d701a871b91838dd6c837cc6c2060271f (patch)
treed78302e74b1108d7f301e09ff022245b0be6264e
parent956142385f63cec0ac1033568ba216cdf3a4a20f (diff)
downloadMinedMap-4288935d701a871b91838dd6c837cc6c2060271f.tar
MinedMap-4288935d701a871b91838dd6c837cc6c2060271f.zip
NBT: fix LongArray dumping
-rw-r--r--src/NBT/LongArrayTag.hpp2
1 files changed, 1 insertions, 1 deletions
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 << " / "