1
0

Fixed item damage value not being read from the 1.3.2 protocol (wtf, why was it disabled?)

git-svn-id: http://mc-server.googlecode.com/svn/trunk@976 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
madmaxoft@gmail.com 2012-10-18 17:47:42 +00:00
parent 99c9b2e11d
commit d2fc9cd9ee

View File

@ -691,7 +691,7 @@ int cProtocol132::ParseItem(cItem & a_Item)
HANDLE_PACKET_READ(ReadChar, char, ItemCount);
HANDLE_PACKET_READ(ReadBEShort, short, ItemDamage);
a_Item.m_ItemCount = ItemCount;
// a_Item.m_ItemDamage = ItemDamage;
a_Item.m_ItemDamage = ItemDamage;
if (ItemCount <= 0)
{
a_Item.Empty();