Skip to content

Commit

Permalink
deploy: 3d9d090
Browse files Browse the repository at this point in the history
  • Loading branch information
QartemisT committed Sep 6, 2024
1 parent 184418f commit a1aa5b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cache/wowt_old.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ const sanityText = (cacheData, text, overrideSpellID, spellMultiplier) => {
console.log("Null spellID", "SpellPower", text);
return errorText;
}
const data = cacheData.spellpower[spellID]
const data = cacheData.spellpower?.[spellID];
if (!data) {
console.log("Failed SpellPower", text);
return errorText;
Expand All @@ -418,7 +418,7 @@ const sanityText = (cacheData, text, overrideSpellID, spellMultiplier) => {
console.log("Null spellID", "Range", text);
return errorText;
}
const data = cacheData.spellmisc[spellID]
const data = cacheData.spellmisc[spellID];
if (!data) {
console.log("Failed Range", text);
return errorText;
Expand Down

0 comments on commit a1aa5b0

Please sign in to comment.