Broadcast mob head changes
This commit is contained in:
parent
226272fc63
commit
de0c86a690
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user