Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

Commit

Permalink
v1.191.1
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGiddyLimit committed Nov 7, 2023
1 parent 4d6596a commit 8769889
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions data/changelog.json
Original file line number Diff line number Diff line change
Expand Up @@ -2562,5 +2562,10 @@
"date": "2023-11-07",
"title": "Handmade Hell",
"txt": "- Added Chains of Asmodeus content\n- Added Dynamic Map Viewer support to Planescape content; Adventure Atlas content\n- Added missing Planescape tokens; Adventure Atlas tokens\n- Added \"Has Info\"/\"Has Images\" filters to Recipes page\n- Fixed races failing to display their text in popout windows/etc.\n- Fixed Classes page \"View Most Recent\" subclass filter filtering to partnered content instead of all content\n- (Brew) Improved Item Text Converter handling of base item types/requirements; `magicvariant` name prefix/suffixes; charges/recharge types; split lines\n- (Brew) Added `\"tokenCredit\"` field to entities with tokens (rendered as a tooltip on the token)\n- (Brew) Spellcasting entries with all their spell types `\"hidden\"` will no longer be rendered\n- (Fixed typos/added tags)"
},
{
"ver": "1.191.1",
"date": "2023-11-07",
"txt": "- Fixed creature spellcasting entries failing to _ever_ render"
}
]
2 changes: 1 addition & 1 deletion js/render-markdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ class RendererMarkdown {

_renderSpellcasting (entry, textStack, meta, options) {
const toRender = this._renderSpellcasting_getEntries(entry);
if (!toRender.entries?.length) return;
if (!toRender?.[0].entries?.length) return;
this._recursiveRender({type: "entries", entries: toRender}, textStack, meta, {prefix: RendererMarkdown._getNextPrefix(options), suffix: "\n"});
}

Expand Down
2 changes: 1 addition & 1 deletion js/render.js
Original file line number Diff line number Diff line change
Expand Up @@ -1104,7 +1104,7 @@ globalThis.Renderer = function () {

this._renderSpellcasting = function (entry, textStack, meta, options) {
const toRender = this._renderSpellcasting_getEntries(entry);
if (!toRender.entries?.length) return;
if (!toRender?.[0].entries?.length) return;
this._recursiveRender({type: "entries", entries: toRender}, textStack, meta);
};

Expand Down
2 changes: 1 addition & 1 deletion js/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// in deployment, `IS_DEPLOYED = "<version number>";` should be set below.
globalThis.IS_DEPLOYED = undefined;
globalThis.VERSION_NUMBER = /* 5ETOOLS_VERSION__OPEN */"1.191.0"/* 5ETOOLS_VERSION__CLOSE */;
globalThis.VERSION_NUMBER = /* 5ETOOLS_VERSION__OPEN */"1.191.1"/* 5ETOOLS_VERSION__CLOSE */;
globalThis.DEPLOYED_STATIC_ROOT = ""; // "https://static.5etools.com/"; // FIXME re-enable this when we have a CDN again
globalThis.DEPLOYED_IMG_ROOT = undefined;
// for the roll20 script to set
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "5etools",
"author": "TheGiddyLimit",
"version": "1.191.0",
"version": "1.191.1",
"license": "MIT",
"description": "A site dedicated to making playing games with your friends as easy as possible.",
"type": "module",
Expand Down

0 comments on commit 8769889

Please sign in to comment.