Bukkit/CraftBukkit — pull request #1284 by Scyntrus (2013-12-07 09:48:34+00:00)
Title: Fix teleport for teleporting across worlds

The original teleport function in the case of the destination world being different than the current world. This was because the destination world was not notified of the addition of the new entity by adding the entity to the world's entity list. This change will make the teleport function use the NMS Entity teleportTo function, which has the correct functionality.