1
0

cPainting saving implemented

Additionally, it now inherits from cHangingEntity.
This commit is contained in:
Tiger Wang
2015-03-13 23:05:06 +00:00
parent e15e30a030
commit 3d398baf35
13 changed files with 83 additions and 72 deletions

View File

@@ -92,3 +92,14 @@ 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(), (Byte)GetYaw(), (Byte)GetPitch());
a_ClientHandle.SendEntityMetadata(*this);
}