1
0

Delet SpawnObject params

* Fix #4679

awkward...
This commit is contained in:
Tiger Wang
2020-04-19 21:03:17 +01:00
parent 61aff2af12
commit 246acb19f9
17 changed files with 19 additions and 43 deletions

View File

@@ -95,7 +95,7 @@ void cItemFrame::GetDrops(cItems & a_Items, cEntity * a_Killer)
void cItemFrame::SpawnOn(cClientHandle & a_ClientHandle)
{
Super::SpawnOn(a_ClientHandle);
a_ClientHandle.SendSpawnObject(*this, 71, GetProtocolFacing(), static_cast<Byte>(GetYaw()), static_cast<Byte>(GetPitch()));
a_ClientHandle.SendSpawnObject(*this, 71, GetProtocolFacing());
a_ClientHandle.SendEntityMetadata(*this);
}