summaryrefslogtreecommitdiffstats
path: root/src/SpawnPrepare.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/SpawnPrepare.cpp')
-rw-r--r--src/SpawnPrepare.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SpawnPrepare.cpp b/src/SpawnPrepare.cpp
index d861a498d..e9f9e3b09 100644
--- a/src/SpawnPrepare.cpp
+++ b/src/SpawnPrepare.cpp
@@ -21,9 +21,9 @@ protected:
std::shared_ptr<cSpawnPrepare> m_SpawnPrepare;
- virtual void Call(int a_ChunkX, int a_ChunkZ, bool a_IsSuccess) override
+ virtual void Call(cChunkCoords a_Coords, bool a_IsSuccess) override
{
- m_SpawnPrepare->PreparedChunkCallback(a_ChunkX, a_ChunkZ);
+ m_SpawnPrepare->PreparedChunkCallback(a_Coords.m_ChunkX, a_Coords.m_ChunkZ);
}
};