From 533c95d9e23764e70b8105e87f27e789ee63abf9 Mon Sep 17 00:00:00 2001 From: peterbell10 Date: Tue, 26 Dec 2017 18:51:38 +0000 Subject: Protocol: Fix potion metadata parsing (#4116) --- src/Protocol/Protocol_1_9.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Protocol/Protocol_1_9.cpp b/src/Protocol/Protocol_1_9.cpp index 9dcf8e3aa..7b61100d0 100644 --- a/src/Protocol/Protocol_1_9.cpp +++ b/src/Protocol/Protocol_1_9.cpp @@ -3128,11 +3128,11 @@ void cProtocol_1_9_0::ParseItemMetadata(cItem & a_Item, const AString & a_Metada } else if (PotionEffect.find("thick") != AString::npos) { - a_Item.m_ItemDamage = 20; + a_Item.m_ItemDamage = 32; } else if (PotionEffect.find("awkward") != AString::npos) { - a_Item.m_ItemDamage = 10; + a_Item.m_ItemDamage = 16; } else if (PotionEffect.find("regeneration") != AString::npos) { -- cgit v1.2.3