summaryrefslogtreecommitdiffstats
path: root/Tools/AnvilStats/SpringStats.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-06-01 15:19:01 +0200
committerMattes D <github@xoft.cz>2014-06-01 15:19:01 +0200
commit869cd7a2080d6072f90016afd7067f871482a5ac (patch)
tree3c330c6e7408e4eb9117d8876f546cd86b94d034 /Tools/AnvilStats/SpringStats.cpp
parentMerge branch 'master' into GeneratorArticle (diff)
downloadcuberite-869cd7a2080d6072f90016afd7067f871482a5ac.tar
cuberite-869cd7a2080d6072f90016afd7067f871482a5ac.tar.gz
cuberite-869cd7a2080d6072f90016afd7067f871482a5ac.tar.bz2
cuberite-869cd7a2080d6072f90016afd7067f871482a5ac.tar.lz
cuberite-869cd7a2080d6072f90016afd7067f871482a5ac.tar.xz
cuberite-869cd7a2080d6072f90016afd7067f871482a5ac.tar.zst
cuberite-869cd7a2080d6072f90016afd7067f871482a5ac.zip
Diffstat (limited to 'Tools/AnvilStats/SpringStats.cpp')
-rw-r--r--Tools/AnvilStats/SpringStats.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/AnvilStats/SpringStats.cpp b/Tools/AnvilStats/SpringStats.cpp
index 637cf20b6..51b7f9d5d 100644
--- a/Tools/AnvilStats/SpringStats.cpp
+++ b/Tools/AnvilStats/SpringStats.cpp
@@ -109,7 +109,7 @@ bool cSpringStats::OnSectionsFinished(void)
int Base = BaseY + z * 16;
for (int x = 1; x < 15; x++)
{
- if (cChunkDef::GetNibble(m_BlockMetas, Base + x) != 0)
+ if (cChunkDef::GetNibble(m_BlockMetas, x, y, z) != 0)
{
// Not a source block
continue;