diff options
author | Mattes D <github@xoft.cz> | 2014-08-29 18:19:27 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-08-29 18:19:47 +0200 |
commit | 22e3bbd0db71f9bd6d0a4306db1127f257bd24b1 (patch) | |
tree | 28c19677ac10421b48ae1a8905c37a05d6785c4f /src/SetChunkData.h | |
parent | VanillaFluidSimulator: Fixed an invalid Y-coord query. (diff) | |
download | cuberite-22e3bbd0db71f9bd6d0a4306db1127f257bd24b1.tar cuberite-22e3bbd0db71f9bd6d0a4306db1127f257bd24b1.tar.gz cuberite-22e3bbd0db71f9bd6d0a4306db1127f257bd24b1.tar.bz2 cuberite-22e3bbd0db71f9bd6d0a4306db1127f257bd24b1.tar.lz cuberite-22e3bbd0db71f9bd6d0a4306db1127f257bd24b1.tar.xz cuberite-22e3bbd0db71f9bd6d0a4306db1127f257bd24b1.tar.zst cuberite-22e3bbd0db71f9bd6d0a4306db1127f257bd24b1.zip |
Diffstat (limited to '')
-rw-r--r-- | src/SetChunkData.h | 3 |
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; |