Skip to content

Commit

Permalink
Possible fix for 1.7 pickup spawning
Browse files Browse the repository at this point in the history
  • Loading branch information
tigerw committed Nov 7, 2013
1 parent e7ba63b commit 4722a90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Protocol/Protocol17x.cpp
Expand Up @@ -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());
Expand Down

0 comments on commit 4722a90

Please sign in to comment.