Fix NPE on plugin enable
Merge pull request #79 from nala3/master

Fix NPE on startup fixes problem that arose after fixing issue #77