diff options
author | Bond-009 <bond.009@outlook.com> | 2020-03-27 13:03:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-27 13:03:28 +0100 |
commit | ea386eaab12206e585e01720808dc37585569535 (patch) | |
tree | 7f26c0241b45cd2551b5d2ab5fc28d920130b0b7 /src/World.cpp | |
parent | Merge #4552 (diff) | |
download | cuberite-ea386eaab12206e585e01720808dc37585569535.tar cuberite-ea386eaab12206e585e01720808dc37585569535.tar.gz cuberite-ea386eaab12206e585e01720808dc37585569535.tar.bz2 cuberite-ea386eaab12206e585e01720808dc37585569535.tar.lz cuberite-ea386eaab12206e585e01720808dc37585569535.tar.xz cuberite-ea386eaab12206e585e01720808dc37585569535.tar.zst cuberite-ea386eaab12206e585e01720808dc37585569535.zip |
Diffstat (limited to '')
-rw-r--r-- | src/World.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/World.cpp b/src/World.cpp index d8655ce11..2d0dfca9f 100644 --- a/src/World.cpp +++ b/src/World.cpp @@ -1531,6 +1531,15 @@ bool cWorld::DoWithFurnaceAt(int a_BlockX, int a_BlockY, int a_BlockZ, cFurnaceC +bool cWorld::DoWithHopperAt(int a_BlockX, int a_BlockY, int a_BlockZ, cHopperCallback a_Callback) +{ + return m_ChunkMap->DoWithHopperAt(a_BlockX, a_BlockY, a_BlockZ, a_Callback); +} + + + + + bool cWorld::DoWithNoteBlockAt(int a_BlockX, int a_BlockY, int a_BlockZ, cNoteBlockCallback a_Callback) { return m_ChunkMap->DoWithNoteBlockAt(a_BlockX, a_BlockY, a_BlockZ, a_Callback); |