Fixed crash due to using clientside code on server. This is going to be stealth updated in.