Adds check for damaged/broken nbt

should address potential problems with RotaryCraft as described in #428