private void ctxTeleportTo_Click(object sender, EventArgs e) { if (lvwObjects.SelectedItems.Count != 1) { return; } UUID person = (UUID)lvwObjects.SelectedItems[0].Tag; string pname = instance.Names.Get(person); Simulator sim = null; Vector3 pos; if (instance.State.TryFindAvatar(person, out sim, out pos)) { tabConsole.DisplayNotificationInChat($"Teleporting to {pname}"); instance.State.MoveTo(sim, pos, true); } else { tabConsole.DisplayNotificationInChat($"Could not locate {pname}"); } }