Skip to content

Commit d92a4e9

Browse files
committed
small fix
1 parent 79078e8 commit d92a4e9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/BPEssentials/Commands/Moderation

src/BPEssentials/Commands/Moderation/Info.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ private StringBuilder GetOfflineInfo(User target)
6262

6363
.Append(" - Apartments: ").Append(target.Character.Apartments.Count).Append(", Indexes: ").Append(string.Join(", ", target.Character.Apartments.Select(x => x.Index)))
6464
.Append(" - Wearables: ").AppendLine(string.Join("\n - ", target.Character.Wearables))
65-
.Append(" - Items: ").AppendLine(string.Join("\n - ", target.Character.Items.Select(x => x.Key + ": " + Core.Instance.EntityHandler.Items.FirstOrDefault(search => search.Value.index == x.Value).Value.item)))
65+
.Append(" - Items: ").AppendLine(string.Join("\n - ", target.Character.Items.Select(x => x.Key + ": " + Core.Instance.EntityHandler.Items.FirstOrDefault(search => search.Value.index == x.Value).Value.itemName)))
6666

6767
.AppendLine(" - Job: ")
6868
.Append(" - Index: ").AppendLine(target.Character.Job.JobIndex.ToString())

0 commit comments

Comments
 (0)