summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/CommandBlockEntity.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-01-19 20:42:25 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-01-19 20:42:25 +0100
commite4c3d799ffddb93c658062f9663ec027fc2f1d5a (patch)
tree5f2bca71f363d928dca2aa6d3bf92347476504f9 /src/BlockEntities/CommandBlockEntity.cpp
parentChanged SendBlockEntity format slightly (diff)
downloadcuberite-e4c3d799ffddb93c658062f9663ec027fc2f1d5a.tar
cuberite-e4c3d799ffddb93c658062f9663ec027fc2f1d5a.tar.gz
cuberite-e4c3d799ffddb93c658062f9663ec027fc2f1d5a.tar.bz2
cuberite-e4c3d799ffddb93c658062f9663ec027fc2f1d5a.tar.lz
cuberite-e4c3d799ffddb93c658062f9663ec027fc2f1d5a.tar.xz
cuberite-e4c3d799ffddb93c658062f9663ec027fc2f1d5a.tar.zst
cuberite-e4c3d799ffddb93c658062f9663ec027fc2f1d5a.zip
Diffstat (limited to 'src/BlockEntities/CommandBlockEntity.cpp')
-rw-r--r--src/BlockEntities/CommandBlockEntity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BlockEntities/CommandBlockEntity.cpp b/src/BlockEntities/CommandBlockEntity.cpp
index 38737d619..7e9015d33 100644
--- a/src/BlockEntities/CommandBlockEntity.cpp
+++ b/src/BlockEntities/CommandBlockEntity.cpp
@@ -142,7 +142,7 @@ bool cCommandBlockEntity::Tick(float a_Dt, cChunk & a_Chunk)
void cCommandBlockEntity::SendTo(cClientHandle & a_Client)
{
- a_Client.SendUpdateBlockEntity(GetPosX(), GetPosY(), GetPosZ(), 2, *this);
+ a_Client.SendUpdateBlockEntity(*this);
}