Derp again - I’m ashamed of myself :(
* now i actually fixed the NPE
* facepalm *