From d2fc9cd9ee469c7c3be7c57500c86054c38a272a Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Thu, 18 Oct 2012 17:47:42 +0000 Subject: 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 --- source/Protocol/Protocol132.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/Protocol') diff --git a/source/Protocol/Protocol132.cpp b/source/Protocol/Protocol132.cpp index d46a16160..d61ca4543 100644 --- a/source/Protocol/Protocol132.cpp +++ b/source/Protocol/Protocol132.cpp @@ -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(); -- cgit v1.2.3