summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
authorWoazboat <f.kargl@posteo.de>2015-04-27 21:18:21 +0200
committerWoazboat <f.kargl@posteo.de>2015-04-27 21:18:56 +0200
commit6caf08da9901d8e08fb5d024faf3580cde1e1461 (patch)
treea85ff166e878a44371a25dbbe75cb10a759bd765 /src/World.cpp
parentMerge pull request #1894 from mc-server/RefactorManualBindingsTemplates (diff)
downloadcuberite-6caf08da9901d8e08fb5d024faf3580cde1e1461.tar
cuberite-6caf08da9901d8e08fb5d024faf3580cde1e1461.tar.gz
cuberite-6caf08da9901d8e08fb5d024faf3580cde1e1461.tar.bz2
cuberite-6caf08da9901d8e08fb5d024faf3580cde1e1461.tar.lz
cuberite-6caf08da9901d8e08fb5d024faf3580cde1e1461.tar.xz
cuberite-6caf08da9901d8e08fb5d024faf3580cde1e1461.tar.zst
cuberite-6caf08da9901d8e08fb5d024faf3580cde1e1461.zip
Diffstat (limited to '')
-rw-r--r--src/World.cpp2
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();