summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockHandler.cpp
diff options
context:
space:
mode:
authorLane Kolbly <lane@rscheme.org>2017-07-14 17:23:41 +0200
committerLukas Pioch <lukas@zgow.de>2017-07-18 15:12:55 +0200
commit93e1690253305044d69e274e7dcf6a14ab8ad049 (patch)
tree3cfc3627a93f8e28a70d99a81def03891bf7a669 /src/Blocks/BlockHandler.cpp
parentAllocate redstone component handlers upfront (diff)
downloadcuberite-93e1690253305044d69e274e7dcf6a14ab8ad049.tar
cuberite-93e1690253305044d69e274e7dcf6a14ab8ad049.tar.gz
cuberite-93e1690253305044d69e274e7dcf6a14ab8ad049.tar.bz2
cuberite-93e1690253305044d69e274e7dcf6a14ab8ad049.tar.lz
cuberite-93e1690253305044d69e274e7dcf6a14ab8ad049.tar.xz
cuberite-93e1690253305044d69e274e7dcf6a14ab8ad049.tar.zst
cuberite-93e1690253305044d69e274e7dcf6a14ab8ad049.zip
Diffstat (limited to '')
-rw-r--r--src/Blocks/BlockHandler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Blocks/BlockHandler.cpp b/src/Blocks/BlockHandler.cpp
index 40cc6b492..4b37d42ad 100644
--- a/src/Blocks/BlockHandler.cpp
+++ b/src/Blocks/BlockHandler.cpp
@@ -384,6 +384,7 @@ void cBlockHandler::OnUpdate(cChunkInterface & cChunkInterface, cWorldInterface
void cBlockHandler::OnPlacedByPlayer(cChunkInterface & a_ChunkInterface, cWorldInterface & a_WorldInterface, cPlayer * a_Player, const sSetBlock & a_BlockChange)
{
+ OnPlaced(a_ChunkInterface, a_WorldInterface, a_BlockChange.GetX(), a_BlockChange.GetY(), a_BlockChange.GetZ(), a_BlockChange.m_BlockType, a_BlockChange.m_BlockMeta);
}