diff options
author | madmaxoft <github@xoft.cz> | 2014-09-20 23:01:42 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-09-20 23:01:42 +0200 |
commit | 3676a84916103ff1fcab472217817e64f5e341a5 (patch) | |
tree | e270bd7a6b1d354f0c7a3f9fd58aae64ea2024b8 | |
parent | QtBiomeVisualiser: Added support for loading Anvil worlds. (diff) | |
download | cuberite-3676a84916103ff1fcab472217817e64f5e341a5.tar cuberite-3676a84916103ff1fcab472217817e64f5e341a5.tar.gz cuberite-3676a84916103ff1fcab472217817e64f5e341a5.tar.bz2 cuberite-3676a84916103ff1fcab472217817e64f5e341a5.tar.lz cuberite-3676a84916103ff1fcab472217817e64f5e341a5.tar.xz cuberite-3676a84916103ff1fcab472217817e64f5e341a5.tar.zst cuberite-3676a84916103ff1fcab472217817e64f5e341a5.zip |
Diffstat (limited to '')
-rw-r--r-- | src/WorldStorage/FastNBT.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WorldStorage/FastNBT.cpp b/src/WorldStorage/FastNBT.cpp index c6294b99c..ed8e8bb14 100644 --- a/src/WorldStorage/FastNBT.cpp +++ b/src/WorldStorage/FastNBT.cpp @@ -310,7 +310,7 @@ int cParsedNBT::FindTagByPath(int a_Tag, const AString & a_Path) const { continue; } - Tag = FindChildByName(Tag, a_Path.c_str() + Begin, i - Begin - 1); + Tag = FindChildByName(Tag, a_Path.c_str() + Begin, i - Begin); if (Tag < 0) { return -1; |