summaryrefslogtreecommitdiffstats
path: root/Tools/AnvilStats/SpringStats.cpp
diff options
context:
space:
mode:
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;