Josvth/Random-Spawn — pull request #1 by matthewbot (2012-04-26 20:50:36+00:00)
Title: Base respawn checks on where the player will be respawned instead of where he died.

I'm working on a plugin that causes players to respawn between worlds, some of which have RandomSpawn enabled and some of which don't. This patch causes RandomSpawn to base its checks on where the PlayerRespawnEvent is about to respawn the player, instead of assuming that the world where the player died will be the same world he respawns in. This way, when my plugin modifies the PlayerRespawnEvent to take the player to a different world, RandomSpawn kicks in correctly.

This is a great plugin, and with this one small tweak it will integrate very smoothly with everything I'm trying accomplish with it!