Bukkit/Bukkit — pull request #524 by jrtc27 (2012-02-15 22:38:35+00:00)
Title: Added PlayerPortalEvent-Related Values To TeleportCause Enum

Currently the dimension to which the player will travel can only be obtained by a plugin if the dimension of the world they are coming from is less than 10 (i.e. not a Bukkit multiworld). This is a better implementation of an old pull request, https://github.com/Bukkit/Bukkit/pull/478.

Corresponding CraftBukkit pull request: https://github.com/Bukkit/CraftBukkit/pull/671