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:
parent
985fd3ca2c
commit
3f1eb05593
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user