summaryrefslogtreecommitdiffstats
path: root/src/SetChunkData.h
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-08-30 12:21:39 +0200
committerHowaner <franzi.moos@googlemail.com>2014-08-30 12:21:39 +0200
commit80bd0a54579cbe5188d42bf8e1e51724d19a6fcf (patch)
tree39ded239dea2d76854283a47b3f29cc12b8801e1 /src/SetChunkData.h
parentAdded speed entity effect. (diff)
parentcChunk: Fixed the Coords param. (diff)
downloadcuberite-80bd0a54579cbe5188d42bf8e1e51724d19a6fcf.tar
cuberite-80bd0a54579cbe5188d42bf8e1e51724d19a6fcf.tar.gz
cuberite-80bd0a54579cbe5188d42bf8e1e51724d19a6fcf.tar.bz2
cuberite-80bd0a54579cbe5188d42bf8e1e51724d19a6fcf.tar.lz
cuberite-80bd0a54579cbe5188d42bf8e1e51724d19a6fcf.tar.xz
cuberite-80bd0a54579cbe5188d42bf8e1e51724d19a6fcf.tar.zst
cuberite-80bd0a54579cbe5188d42bf8e1e51724d19a6fcf.zip
Diffstat (limited to 'src/SetChunkData.h')
-rw-r--r--src/SetChunkData.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/SetChunkData.h b/src/SetChunkData.h
index a2f776f6b..03e9ef4d9 100644
--- a/src/SetChunkData.h
+++ b/src/SetChunkData.h
@@ -92,6 +92,9 @@ public:
/** Calculates the heightmap based on the contained blocktypes and marks it valid. */
void CalculateHeightMap(void);
+ /** Removes the block entities that don't have a proper blocktype at their corresponding coords. */
+ void RemoveInvalidBlockEntities(void);
+
protected:
int m_ChunkX;
int m_ChunkZ;