Add null check pointer to prevent crashes when an player stops riding an entity due to events inside the entity tick loop.
Merge pull request #303 from FearThe1337/master

Add null check pointer to prevent crashes.