summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/FlowerPotEntity.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/BlockEntities/FlowerPotEntity.cpp')
-rw-r--r--src/BlockEntities/FlowerPotEntity.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}