summaryrefslogtreecommitdiffstats
path: root/src/ChunkDef.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ChunkDef.h')
-rw-r--r--src/ChunkDef.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ChunkDef.h b/src/ChunkDef.h
index 0e9dbf6b7..f4a0867b5 100644
--- a/src/ChunkDef.h
+++ b/src/ChunkDef.h
@@ -29,7 +29,8 @@ class cClientHandle;
class cBlockEntity;
class cChunkCoords;
-typedef std::list<cEntity *> cEntityList;
+typedef std::unique_ptr<cEntity> OwnedEntity;
+typedef std::vector<OwnedEntity> cEntityList;
typedef std::map<int, cBlockEntity *> cBlockEntities;