06-20-2012, 09:41 AM
I appologize, but seems like you forgot "if fixing items are damaged" check
Here's "fixed" oncraftingnorecipe.lua, and below there's added bit of code:
Cheers
Here's "fixed" oncraftingnorecipe.lua, and below there's added bit of code:
Code:
if (
(Items[1].m_ItemHealth == 0) or
(Items[2].m_ItemHealth == 0)
)
then
-- Only damaged items may be fixed
return false
end
Cheers