INVENTORIES - Fixes tools auto repairing on relog.

Untested due to time restraint
Fixed everything, tested - works.
Merge pull request #233 from lDiverse/patch-101

INVENTORIES - Fixes tools auto repairing on relog.