Makes the entities test pass.

The event entityGone was being emited before action was taken by the bot.