diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2020-08-28 22:26:04 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2020-08-28 22:26:04 +0200 |
commit | 08bd77e5472f08183beb2f0cf5a59cb5630e5e5f (patch) | |
tree | e13315dd8d2e089934391c76697b026c53f26604 /src/World.cpp | |
parent | ChunkMap: do not wantonly make empty chunks (diff) | |
download | cuberite-08bd77e5472f08183beb2f0cf5a59cb5630e5e5f.tar cuberite-08bd77e5472f08183beb2f0cf5a59cb5630e5e5f.tar.gz cuberite-08bd77e5472f08183beb2f0cf5a59cb5630e5e5f.tar.bz2 cuberite-08bd77e5472f08183beb2f0cf5a59cb5630e5e5f.tar.lz cuberite-08bd77e5472f08183beb2f0cf5a59cb5630e5e5f.tar.xz cuberite-08bd77e5472f08183beb2f0cf5a59cb5630e5e5f.tar.zst cuberite-08bd77e5472f08183beb2f0cf5a59cb5630e5e5f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/World.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/World.cpp b/src/World.cpp index 6a0864410..dfc612229 100644 --- a/src/World.cpp +++ b/src/World.cpp @@ -2870,15 +2870,6 @@ void cWorld::RemoveClientFromChunkSender(cClientHandle * a_Client) -void cWorld::TouchChunk(int a_ChunkX, int a_ChunkZ) -{ - m_ChunkMap->TouchChunk(a_ChunkX, a_ChunkZ); -} - - - - - void cWorld::PrepareChunk(int a_ChunkX, int a_ChunkZ, std::unique_ptr<cChunkCoordCallback> a_CallAfter) { m_ChunkMap->PrepareChunk(a_ChunkX, a_ChunkZ, std::move(a_CallAfter)); @@ -2980,7 +2971,6 @@ bool cWorld::SetTrapdoorOpen(int a_BlockX, int a_BlockY, int a_BlockZ, bool a_Op void cWorld::RegenerateChunk(int a_ChunkX, int a_ChunkZ) { m_ChunkMap->MarkChunkRegenerating(a_ChunkX, a_ChunkZ); - m_Generator.QueueGenerateChunk({a_ChunkX, a_ChunkZ}, true); } |