diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-02-19 14:45:09 +0100 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-02-19 14:45:09 +0100 |
commit | d63ce62f3bbe4b8e89b8c54af4b71d77bcc7e052 (patch) | |
tree | e2a6645283f80bd664a4bc8d402f52f13824cd14 /src/Chunk.cpp | |
parent | Add break to Protocol17x.cpp and use new comment delimiter (diff) | |
download | cuberite-d63ce62f3bbe4b8e89b8c54af4b71d77bcc7e052.tar cuberite-d63ce62f3bbe4b8e89b8c54af4b71d77bcc7e052.tar.gz cuberite-d63ce62f3bbe4b8e89b8c54af4b71d77bcc7e052.tar.bz2 cuberite-d63ce62f3bbe4b8e89b8c54af4b71d77bcc7e052.tar.lz cuberite-d63ce62f3bbe4b8e89b8c54af4b71d77bcc7e052.tar.xz cuberite-d63ce62f3bbe4b8e89b8c54af4b71d77bcc7e052.tar.zst cuberite-d63ce62f3bbe4b8e89b8c54af4b71d77bcc7e052.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Chunk.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Chunk.cpp b/src/Chunk.cpp index 8b03732f3..0e757be6e 100644 --- a/src/Chunk.cpp +++ b/src/Chunk.cpp @@ -19,7 +19,7 @@ #include "BlockEntities/JukeboxEntity.h" #include "BlockEntities/NoteEntity.h" #include "BlockEntities/SignEntity.h" -#include "BlockEntities/SkullEntity.h" +#include "BlockEntities/MobHeadEntity.h" #include "Entities/Pickup.h" #include "Item.h" #include "Noise.h" @@ -2312,7 +2312,7 @@ bool cChunk::DoWithCommandBlockAt(int a_BlockX, int a_BlockY, int a_BlockZ, cCom -bool cChunk::DoWithSkullBlockAt(int a_BlockX, int a_BlockY, int a_BlockZ, cSkullBlockCallback & a_Callback) +bool cChunk::DoWithMobHeadBlockAt(int a_BlockX, int a_BlockY, int a_BlockZ, cMobHeadBlockCallback & a_Callback) { // The blockentity list is locked by the parent chunkmap's CS for (cBlockEntityList::iterator itr = m_BlockEntities.begin(), itr2 = itr; itr != m_BlockEntities.end(); itr = itr2) @@ -2329,7 +2329,7 @@ bool cChunk::DoWithSkullBlockAt(int a_BlockX, int a_BlockY, int a_BlockZ, cSkull } // The correct block entity is here, - if (a_Callback.Item((cSkullEntity *)*itr)) + if (a_Callback.Item((cMobHeadEntity *)*itr)) { return false; } |