1
0

1.8: Enderman, byte -> short

This commit is contained in:
Howaner 2014-09-12 00:41:07 +02:00
parent a02d96d1f5
commit e10237fb4d

View File

@ -3224,7 +3224,7 @@ void cProtocol180::cPacketizer::WriteMobMetadata(const cMonster & a_Mob)
case cMonster::mtEnderman:
{
WriteByte(0x30);
WriteByte((Byte)(((const cEnderman &)a_Mob).GetCarriedBlock()));
WriteShort((Byte)(((const cEnderman &)a_Mob).GetCarriedBlock()));
WriteByte(0x11);
WriteByte((Byte)(((const cEnderman &)a_Mob).GetCarriedMeta()));
WriteByte(0x12);