summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2015-04-27 22:11:56 +0200
committerworktycho <work.tycho@gmail.com>2015-04-27 22:11:56 +0200
commitfacb6e7416a6d8757d3b6b24b32c29edc49e69a5 (patch)
tree52c0dd676f19d5768fdf83b959d6a5f0f5e5520a /src/WorldStorage
parentFix explosions trying to write to unread blockarea (diff)
parentcSetChunkData constructor explicitly requires std::move() instead of (diff)
downloadcuberite-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/WorldStorage')
-rwxr-xr-xsrc/WorldStorage/WSSAnvil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WorldStorage/WSSAnvil.cpp b/src/WorldStorage/WSSAnvil.cpp
index 7244bcb73..948a0c9a0 100755
--- a/src/WorldStorage/WSSAnvil.cpp
+++ b/src/WorldStorage/WSSAnvil.cpp
@@ -431,7 +431,7 @@ bool cWSSAnvil::LoadChunkFromNBT(const cChunkCoords & a_Chunk, const cParsedNBT
IsLightValid ? BlockLight : nullptr,
IsLightValid ? SkyLight : nullptr,
nullptr, Biomes,
- Entities, BlockEntities,
+ std::move(Entities), std::move(BlockEntities),
false
));
m_World->QueueSetChunkData(SetChunkData);