summaryrefslogtreecommitdiffstats
path: root/src/ChunkMap.cpp
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2016-10-09 14:46:09 +0200
committerGitHub <noreply@github.com>2016-10-09 14:46:09 +0200
commit1e8cae641592cc4ae7b6f1b997c514f9d2be422b (patch)
tree82f88f3fcb9d71c33c43b981570e0c07cf232906 /src/ChunkMap.cpp
parentUpdated the Core plugin. (diff)
downloadcuberite-1e8cae641592cc4ae7b6f1b997c514f9d2be422b.tar
cuberite-1e8cae641592cc4ae7b6f1b997c514f9d2be422b.tar.gz
cuberite-1e8cae641592cc4ae7b6f1b997c514f9d2be422b.tar.bz2
cuberite-1e8cae641592cc4ae7b6f1b997c514f9d2be422b.tar.lz
cuberite-1e8cae641592cc4ae7b6f1b997c514f9d2be422b.tar.xz
cuberite-1e8cae641592cc4ae7b6f1b997c514f9d2be422b.tar.zst
cuberite-1e8cae641592cc4ae7b6f1b997c514f9d2be422b.zip
Diffstat (limited to 'src/ChunkMap.cpp')
-rw-r--r--src/ChunkMap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ChunkMap.cpp b/src/ChunkMap.cpp
index a16b08f15..c8e485cdd 100644
--- a/src/ChunkMap.cpp
+++ b/src/ChunkMap.cpp
@@ -2762,7 +2762,7 @@ void cChunkMap::QueueTickBlock(int a_BlockX, int a_BlockY, int a_BlockZ)
void cChunkMap::SetChunkAlwaysTicked(int a_ChunkX, int a_ChunkZ, bool a_AlwaysTicked)
{
cCSLock Lock(m_CSChunks);
- cChunkPtr Chunk = GetChunkNoLoad(a_ChunkX, a_ChunkZ);
+ cChunkPtr Chunk = GetChunk(a_ChunkX, a_ChunkZ);
if (Chunk != nullptr)
{
Chunk->SetAlwaysTicked(a_AlwaysTicked);