summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/World.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/World.cpp b/src/World.cpp
index 690224d35..3164322fc 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -2636,9 +2636,9 @@ void cWorld::ChunkLighted(
-bool cWorld::GetChunkData(int a_ChunkX, int a_ChunkZ, cChunkDataCallback & a_Callback)
+bool cWorld::GetChunkData(cChunkCoords a_Coords, cChunkDataCallback & a_Callback) const
{
- return m_ChunkMap->GetChunkData(a_ChunkX, a_ChunkZ, a_Callback);
+ return m_ChunkMap->GetChunkData(a_Coords, a_Callback);
}