Fixed crash when accessing local player before any events are triggered; still need a proper fix for this