Skip to content

Commit

Permalink
fix player names on list command
Browse files Browse the repository at this point in the history
  • Loading branch information
negrifelipe committed Dec 15, 2021
1 parent b22929e commit 62c05a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Feli.OpenMod.Teleporting/Services/TeleportsManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public async Task List(UnturnedUser player)
return;
}

var playerNames = requests.Select(x => x.Item2.DisplayName);
var playerNames = requests.Select(x => x.Item1.DisplayName);

await Say(player, _stringLocalizer["tpaCommand:list:display", requests.Count()]);

Expand Down
2 changes: 1 addition & 1 deletion Feli.RocketMod.Teleporting/TeleportsManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public void List(UnturnedPlayer player)
return;
}

var playerNames = requests.Select(x => x.Item2.DisplayName);
var playerNames = requests.Select(x => x.Item1.DisplayName);

Say(player, _plugin.Translate("TpaCommand:List:Display", requests.Count()), _messageColor, _messageIcon);

Expand Down

0 comments on commit 62c05a5

Please sign in to comment.