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

@@ -24,8 +24,6 @@ cHangingEntity::cHangingEntity(eEntityType a_EntityType, eBlockFace a_Facing, do
void cHangingEntity::SpawnOn(cClientHandle & a_ClientHandle)
{
SetYaw(GetProtocolFacing() * 90);
a_ClientHandle.SendSpawnObject(*this, 71, GetProtocolFacing(), (Byte)GetYaw(), (Byte)GetPitch());
a_ClientHandle.SendEntityMetadata(*this);
}