Fixed a NPE when a player was killed by an Entity

Closes #9