Bukkit/CraftBukkit — pull request #1013 by jrtc27 (2013-02-02 12:37:43+00:00)
Title: Always use the set exit location for portal events. Fixes BUKKIT-3555.

Currently if `event.useTravelAgent()` returns true, the exit location used to construct either type of portal event is used as the destination location for the travel agent. Instead, the event's `to` location should be used.

Leaky: https://bukkit.atlassian.net/browse/BUKKIT-3555