Store cChunk::m_BlockEntities in a map (#3717)
* Store block entities in a map from block index * Cleanup ForEachBlockEntity * Cleanup DoWithBlockEntityAt
This commit is contained in:
@@ -31,8 +31,8 @@ class cEntity;
|
||||
class cClientHandle;
|
||||
class cBlockEntity;
|
||||
|
||||
typedef std::list<cEntity *> cEntityList;
|
||||
typedef std::list<cBlockEntity *> cBlockEntityList;
|
||||
typedef std::list<cEntity *> cEntityList;
|
||||
typedef std::map<int, cBlockEntity *> cBlockEntities;
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user