Fixed nil pointers, added ItemCoords for using the positions of the Item
Use tabs not spaces
Simplifed it
Merge pull request #115 from Seadragon91/master

This fixes nil pointers in repairing items