Skip to content

Commit

Permalink
fix for quest log copy link
Browse files Browse the repository at this point in the history
  • Loading branch information
typhonrt committed Sep 6, 2022
1 parent 359d324 commit 5edaf62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/view/log/QuestLog.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export default class QuestLog extends Application
const questId = $(menu)?.closest('.drag-quest')?.data('quest-id');
const quest = QuestDB.getQuest(questId);

if (quest && Utils.copyTextToClipboard(`@Quest[${quest.id}]{${quest.name}}`))
if (quest && Utils.copyTextToClipboard(`@JournalEntry[${quest.id}]{${quest.name}}`))
{
ui.notifications.info(game.i18n.format('ForienQuestLog.Notifications.LinkCopied'));
}
Expand Down

0 comments on commit 5edaf62

Please sign in to comment.