Protocol 1.7: Fixed the Spawn Mob packet.

This should fix #318
master
madmaxoft 2013-11-07 17:11:36 +01:00
parent 088f7f68fc
commit 034a283a28
1 changed files with 1 additions and 1 deletions

View File

@ -636,7 +636,7 @@ void cProtocol172::SendSpawnFallingBlock(const cFallingBlock & a_FallingBlock)
void cProtocol172::SendSpawnMob(const cMonster & a_Mob)
{
cPacketizer Pkt(*this, 0x0f); // Spawn Mob packet
Pkt.WriteInt(a_Mob.GetUniqueID());
Pkt.WriteVarInt(a_Mob.GetUniqueID());
Pkt.WriteByte((Byte)a_Mob.GetMobType());
Pkt.WriteFPInt(a_Mob.GetPosX());
Pkt.WriteFPInt(a_Mob.GetPosY());