Skip to content

Commit 060b33c

Browse files
committed
Fix wrong usage of get item name
1 parent 0af1ff6 commit 060b33c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mahoji/commands/drop.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export const dropCommand: OSBMahojiCommand = {
7272
if (doubleCheckItems.length > 0) {
7373
await interaction.confirmation(
7474
`${user}, some of the items you are dropping are on your **favorites** or look valuable, are you *really* sure you want to drop them?\n**${doubleCheckItems
75-
.map(Items.itemNameFromId)
75+
.map(i => Items.itemNameFromId(i))
7676
.join(', ')}**\n\nDropping: ${ellipsize(bank.toString(), 1000)}`
7777
);
7878
}

0 commit comments

Comments
 (0)