1
0

Protocol: Fix potion metadata parsing (#4116)

This commit is contained in:
peterbell10 2017-12-26 18:51:38 +00:00 committed by Alexander Harkness
parent 96b72ab88e
commit 533c95d9e2

View File

@ -3128,11 +3128,11 @@ void cProtocol_1_9_0::ParseItemMetadata(cItem & a_Item, const AString & a_Metada
} }
else if (PotionEffect.find("thick") != AString::npos) else if (PotionEffect.find("thick") != AString::npos)
{ {
a_Item.m_ItemDamage = 20; a_Item.m_ItemDamage = 32;
} }
else if (PotionEffect.find("awkward") != AString::npos) else if (PotionEffect.find("awkward") != AString::npos)
{ {
a_Item.m_ItemDamage = 10; a_Item.m_ItemDamage = 16;
} }
else if (PotionEffect.find("regeneration") != AString::npos) else if (PotionEffect.find("regeneration") != AString::npos)
{ {