summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/BlockEntities/MobHeadEntity.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/BlockEntities/MobHeadEntity.cpp b/src/BlockEntities/MobHeadEntity.cpp
index 068cc3ddf..01529f4d0 100644
--- a/src/BlockEntities/MobHeadEntity.cpp
+++ b/src/BlockEntities/MobHeadEntity.cpp
@@ -41,6 +41,7 @@ void cMobHeadEntity::SetType(const eMobHeadType & a_Type)
m_OwnerName = m_OwnerUUID = m_OwnerTexture = m_OwnerTextureSignature = "";
}
m_Type = a_Type;
+ m_World->BroadcastBlockEntity(m_PosX, m_PosY, m_PosZ);
}
@@ -50,6 +51,7 @@ void cMobHeadEntity::SetType(const eMobHeadType & a_Type)
void cMobHeadEntity::SetRotation(eMobHeadRotation a_Rotation)
{
m_Rotation = a_Rotation;
+ m_World->BroadcastBlockEntity(m_PosX, m_PosY, m_PosZ);
}
@@ -76,6 +78,8 @@ void cMobHeadEntity::SetOwner(const cPlayer & a_Owner)
break;
}
}
+
+ m_World->BroadcastBlockEntity(m_PosX, m_PosY, m_PosZ);
}
@@ -93,6 +97,7 @@ void cMobHeadEntity::SetOwner(const AString & a_OwnerUUID, const AString & a_Own
m_OwnerName = a_OwnerName;
m_OwnerTexture = a_OwnerTexture;
m_OwnerTextureSignature = a_OwnerTextureSignature;
+ m_World->BroadcastBlockEntity(m_PosX, m_PosY, m_PosZ);
}