diff options
author | Mattes D <github@xoft.cz> | 2014-03-07 17:54:10 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-03-07 17:54:10 +0100 |
commit | f72c747b5005df8bc53a9e38e52fc47ceae8515c (patch) | |
tree | 6abf8ca1a3f2bd35c059bffe226b26a4c553e723 /src/World.cpp | |
parent | Fixed a typo. (diff) | |
parent | Link cItem in the documentation (diff) | |
download | cuberite-f72c747b5005df8bc53a9e38e52fc47ceae8515c.tar cuberite-f72c747b5005df8bc53a9e38e52fc47ceae8515c.tar.gz cuberite-f72c747b5005df8bc53a9e38e52fc47ceae8515c.tar.bz2 cuberite-f72c747b5005df8bc53a9e38e52fc47ceae8515c.tar.lz cuberite-f72c747b5005df8bc53a9e38e52fc47ceae8515c.tar.xz cuberite-f72c747b5005df8bc53a9e38e52fc47ceae8515c.tar.zst cuberite-f72c747b5005df8bc53a9e38e52fc47ceae8515c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/World.cpp | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/World.cpp b/src/World.cpp index 73157b5bf..f6d277663 100644 --- a/src/World.cpp +++ b/src/World.cpp @@ -1198,9 +1198,18 @@ bool cWorld::DoWithCommandBlockAt(int a_BlockX, int a_BlockY, int a_BlockZ, cCom -bool cWorld::DoWithMobHeadBlockAt(int a_BlockX, int a_BlockY, int a_BlockZ, cMobHeadBlockCallback & a_Callback) +bool cWorld::DoWithMobHeadAt(int a_BlockX, int a_BlockY, int a_BlockZ, cMobHeadCallback & a_Callback) { - return m_ChunkMap->DoWithMobHeadBlockAt(a_BlockX, a_BlockY, a_BlockZ, a_Callback); + return m_ChunkMap->DoWithMobHeadAt(a_BlockX, a_BlockY, a_BlockZ, a_Callback); +} + + + + + +bool cWorld::DoWithFlowerPotAt(int a_BlockX, int a_BlockY, int a_BlockZ, cFlowerPotCallback & a_Callback) +{ + return m_ChunkMap->DoWithFlowerPotAt(a_BlockX, a_BlockY, a_BlockZ, a_Callback); } |