Fixed nullpointerexception causing unenchanted items to be unrepairable.