Spell permissions and spell learn events fixed up
Don't crash if a protections plugin has trouble