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:
parent
99c9b2e11d
commit
d2fc9cd9ee
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user