Skip to content

Commit

Permalink
Fixing formatting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
markbmullins committed Dec 6, 2020
1 parent d957222 commit 2130181
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/quests/quest-journal-plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ export const action: buttonAction = (details) => {
const quest = questData.quest;

const [playerQuest] = player.quests.filter(
(playerQuest) => playerQuest.questId === quest.questTabId
(playerQuest) => playerQuest.questId === quest.questTabId
);

let playerStage = "NOT_STARTED";
if (playerQuest && playerQuest.stage) {
playerStage = playerQuest.stage;
playerStage = playerQuest.stage;
}

let stageText = quest.stages[playerStage];
Expand Down

0 comments on commit 2130181

Please sign in to comment.