Fixed deprecated thingy in teleportation