essentials/Essentials — pull request #479 by Di3mex (2013-05-20 17:00:43+00:00)
Title: Using the /home command shouldn't trigger a PlayerRespawnEvent

Currently when using /home and no bed or home is present a Player will be teleported to the world spawn and a PlayerRespawnEvent is called.

Imo the PlayerRespawnEvent should only be called when a Player has died and is actually respawning at spawn/bed/home.

I use the PlayerRespawnEvent in my plugin to change the default amount of food and health a Player has when he respawns. Using /home without a bed triggers the Event which takes food/health away from the teleporting Player.