diff options
author | Mattes D <github@xoft.cz> | 2019-09-01 09:30:00 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2019-09-06 16:12:33 +0200 |
commit | a2ffa432b31096f2533ecb50f49ba450b29a2989 (patch) | |
tree | 5bdd754cad5e7b49e279ee0e21b9fa15c7c35d7b /src/WorldStorage | |
parent | Updated LibEvent to release 2.1.11-stable. (#4383) (diff) | |
download | cuberite-a2ffa432b31096f2533ecb50f49ba450b29a2989.tar cuberite-a2ffa432b31096f2533ecb50f49ba450b29a2989.tar.gz cuberite-a2ffa432b31096f2533ecb50f49ba450b29a2989.tar.bz2 cuberite-a2ffa432b31096f2533ecb50f49ba450b29a2989.tar.lz cuberite-a2ffa432b31096f2533ecb50f49ba450b29a2989.tar.xz cuberite-a2ffa432b31096f2533ecb50f49ba450b29a2989.tar.zst cuberite-a2ffa432b31096f2533ecb50f49ba450b29a2989.zip |
Diffstat (limited to '')
-rw-r--r-- | src/WorldStorage/WorldStorage.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WorldStorage/WorldStorage.cpp b/src/WorldStorage/WorldStorage.cpp index a3aff0749..d1f9abf74 100644 --- a/src/WorldStorage/WorldStorage.cpp +++ b/src/WorldStorage/WorldStorage.cpp @@ -240,7 +240,7 @@ bool cWorldStorage::LoadOneChunk(void) // Call the callback, if specified: if (ToLoad.m_Callback != nullptr) { - ToLoad.m_Callback->Call(ToLoad.m_ChunkX, ToLoad.m_ChunkZ, res); + ToLoad.m_Callback->Call({ToLoad.m_ChunkX, ToLoad.m_ChunkZ}, res); } return res; } @@ -274,7 +274,7 @@ bool cWorldStorage::SaveOneChunk(void) // Call the callback, if specified: if (ToSave.m_Callback != nullptr) { - ToSave.m_Callback->Call(ToSave.m_ChunkX, ToSave.m_ChunkZ, Status); + ToSave.m_Callback->Call({ToSave.m_ChunkX, ToSave.m_ChunkZ}, Status); } return true; } |