1
0

Possible fix for 1.7 pickup spawning

This commit is contained in:
Tiger Wang 2013-11-07 18:49:48 +00:00
parent e7ba63b43c
commit 4722a90a0b

View File

@ -658,7 +658,7 @@ void cProtocol172::SendSpawnMob(const cMonster & a_Mob)
void cProtocol172::SendSpawnObject(const cEntity & a_Entity, char a_ObjectType, int a_ObjectData, Byte a_Yaw, Byte a_Pitch)
{
cPacketizer Pkt(*this, 0xe); // Spawn Object packet
Pkt.WriteInt(a_Entity.GetUniqueID());
Pkt.WriteVarInt(a_Entity.GetUniqueID());
Pkt.WriteByte(a_ObjectType);
Pkt.WriteFPInt(a_Entity.GetPosX());
Pkt.WriteFPInt(a_Entity.GetPosY());