Fixed nullpointer error that I keep having on my server