diff options
author | worktycho <work.tycho@gmail.com> | 2015-04-27 22:11:56 +0200 |
---|---|---|
committer | worktycho <work.tycho@gmail.com> | 2015-04-27 22:11:56 +0200 |
commit | facb6e7416a6d8757d3b6b24b32c29edc49e69a5 (patch) | |
tree | 52c0dd676f19d5768fdf83b959d6a5f0f5e5520a /src/World.cpp | |
parent | Fix explosions trying to write to unread blockarea (diff) | |
parent | cSetChunkData constructor explicitly requires std::move() instead of (diff) | |
download | cuberite-facb6e7416a6d8757d3b6b24b32c29edc49e69a5.tar cuberite-facb6e7416a6d8757d3b6b24b32c29edc49e69a5.tar.gz cuberite-facb6e7416a6d8757d3b6b24b32c29edc49e69a5.tar.bz2 cuberite-facb6e7416a6d8757d3b6b24b32c29edc49e69a5.tar.lz cuberite-facb6e7416a6d8757d3b6b24b32c29edc49e69a5.tar.xz cuberite-facb6e7416a6d8757d3b6b24b32c29edc49e69a5.tar.zst cuberite-facb6e7416a6d8757d3b6b24b32c29edc49e69a5.zip |
Diffstat (limited to 'src/World.cpp')
-rw-r--r-- | src/World.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/World.cpp b/src/World.cpp index a088f6eb1..8e1d0b33e 100644 --- a/src/World.cpp +++ b/src/World.cpp @@ -3712,7 +3712,7 @@ void cWorld::cChunkGeneratorCallbacks::OnChunkGenerated(cChunkDesc & a_ChunkDesc a_ChunkDesc.GetBlockTypes(), BlockMetas, nullptr, nullptr, // We don't have lighting, chunk will be lighted when needed &a_ChunkDesc.GetHeightMap(), &a_ChunkDesc.GetBiomeMap(), - a_ChunkDesc.GetEntities(), a_ChunkDesc.GetBlockEntities(), + std::move(a_ChunkDesc.GetEntities()), std::move(a_ChunkDesc.GetBlockEntities()), true )); SetChunkData->RemoveInvalidBlockEntities(); |