Fixed server crash caused by EntityPlayerSP (not available on server).