1
0

Fixed item damage not being set properly in StringToItem()

git-svn-id: http://mc-server.googlecode.com/svn/trunk@853 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
madmaxoft@gmail.com 2012-09-08 21:20:36 +00:00
parent 985fd3ca2c
commit 3f1eb05593

View File

@ -82,6 +82,10 @@ public:
{
a_Item.m_ItemType = itr->second.first;
a_Item.m_ItemDamage = itr->second.second;
if (a_Item.m_ItemDamage == -1)
{
a_Item.m_ItemDamage = 0;
}
return true;
}