From 10c5c1227e5a663b3a53c336cfa6a0a98f874265 Mon Sep 17 00:00:00 2001 From: Bond-009 Date: Mon, 25 Sep 2017 18:17:45 +0200 Subject: BroadcastBlockBreakAnimation and BroadcastBlockEntity use vectors (#4038) --- src/BlockEntities/FlowerPotEntity.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/BlockEntities/FlowerPotEntity.cpp') diff --git a/src/BlockEntities/FlowerPotEntity.cpp b/src/BlockEntities/FlowerPotEntity.cpp index dbbbefff2..486553c50 100644 --- a/src/BlockEntities/FlowerPotEntity.cpp +++ b/src/BlockEntities/FlowerPotEntity.cpp @@ -67,7 +67,7 @@ bool cFlowerPotEntity::UsedBy(cPlayer * a_Player) { a_Player->GetInventory().RemoveOneEquippedItem(); } - m_World->BroadcastBlockEntity(m_PosX, m_PosY, m_PosZ, a_Player->GetClientHandle()); + m_World->BroadcastBlockEntity(GetPos(), a_Player->GetClientHandle()); } return true; } -- cgit v1.2.3