summaryrefslogtreecommitdiffstats
path: root/src/ChunkMap.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-07-29 19:51:07 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2020-08-02 16:52:06 +0200
commit71ffa76847f2c685958cafb01b0d3a684648f189 (patch)
tree918a5367f7c5273cf01f1d090ebcb610bf4833fc /src/ChunkMap.cpp
parentAlways use relative coordinates in AddBlock (diff)
downloadcuberite-71ffa76847f2c685958cafb01b0d3a684648f189.tar
cuberite-71ffa76847f2c685958cafb01b0d3a684648f189.tar.gz
cuberite-71ffa76847f2c685958cafb01b0d3a684648f189.tar.bz2
cuberite-71ffa76847f2c685958cafb01b0d3a684648f189.tar.lz
cuberite-71ffa76847f2c685958cafb01b0d3a684648f189.tar.xz
cuberite-71ffa76847f2c685958cafb01b0d3a684648f189.tar.zst
cuberite-71ffa76847f2c685958cafb01b0d3a684648f189.zip
Diffstat (limited to 'src/ChunkMap.cpp')
-rw-r--r--src/ChunkMap.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/ChunkMap.cpp b/src/ChunkMap.cpp
index 6b1ece612..9b5106f36 100644
--- a/src/ChunkMap.cpp
+++ b/src/ChunkMap.cpp
@@ -2191,23 +2191,6 @@ void cChunkMap::ChunkValidated(void)
-void cChunkMap::QueueTickBlock(Vector3i a_AbsPos)
-{
- auto chunkCoords = cChunkDef::BlockToChunk(a_AbsPos);
- auto relPos = cChunkDef::AbsoluteToRelative(a_AbsPos, chunkCoords);
-
- cCSLock Lock(m_CSChunks);
- cChunkPtr Chunk = GetChunkNoLoad(chunkCoords);
- if (Chunk != nullptr)
- {
- Chunk->QueueTickBlock(relPos);
- }
-}
-
-
-
-
-
void cChunkMap::SetChunkAlwaysTicked(int a_ChunkX, int a_ChunkZ, bool a_AlwaysTicked)
{
cCSLock Lock(m_CSChunks);