Fixed NullPointerException, again...

Now it should compile, fuck my text editor :/