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

Commit

Permalink
Merge pull request #729 from death-save:v1.10.4
Browse files Browse the repository at this point in the history
V1.10.4
  • Loading branch information
eclarke12 authored Dec 28, 2022
2 parents 1711831 + aeb309e commit 8143337
Show file tree
Hide file tree
Showing 7 changed files with 339 additions and 174 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@
3. The Default/Inferred Condition Lab Mappings for game systems may not correctly import all data. Importing the map from the CUB Condition Maps folder imports correctly.
4. **PF2e users**: PF2e is not currently supported by Enhanced Conditions due to the customisation of the effects framework implemented by the system.

## [1.10.4] - 2022-12-27
> This update adds compatability for Foundry VTT v10.291
### 😷 Hide Names
- Fixed issue with Actor form not opening
- Added ability to have a space or "0" as a replacement name

### 🌍 Translation
- Updated German translation (thanks @mhilbrunner 🎉)

## [1.10.3] - 2022-10-15
> This update adds compatibility for Foundry VTT v10.288
### ✨ Enhanced Condition
Expand Down
402 changes: 279 additions & 123 deletions lang/de.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions module.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "combat-utility-belt",
"title": "Combat Utility Belt",
"description": "Adds various combat-focused features",
"version": "1.10.3",
"version": "1.10.4",
"authors": [
{
"name": "Evan Clarke",
Expand Down Expand Up @@ -103,7 +103,7 @@
"socket": true,
"compatibility": {
"minimum": "10.270",
"verified": "10.288"
"verified": "10.291"
},
"name": "combat-utility-belt",
"minimumCoreVersion": "10.270"
Expand Down
2 changes: 1 addition & 1 deletion modules/hide-names/actor-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export class HideNPCNamesActorForm extends FormApplication {
*/
getData() {
const actor = this.actor;
const dispositionEnum = actor?.token?.disposition ?? actor?.token?.disposition;
const dispositionEnum = actor?.token?.disposition ?? actor?.prototypeToken?.disposition;
const disposition = Sidekick.getKeyByValue(CONST.TOKEN_DISPOSITIONS, dispositionEnum);
const dispositionIcon = DEFAULT_CONFIG.hideNames[`${disposition.toLowerCase()}Icon`];
const enableSetting = Sidekick.getSetting(SETTING_KEYS.hideNames[`enable${disposition.titleCase()}`]);
Expand Down
2 changes: 1 addition & 1 deletion modules/hide-names/hide-npc-names.js
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ export class HideNPCNames {
const nameHeader = nameDiv.find("h3");
const name = nameHeader.text();
const replacement = HideNPCNames.getReplacementName(actor);
if (!replacement) continue;
if (replacement === undefined || replacement === null) continue;

nameHeader.text(replacement);
avatar.attr("title", replacement);
Expand Down
92 changes: 46 additions & 46 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,6 +1,6 @@
{
"name": "combat-utility-belt",
"version": "1.10.3",
"version": "1.10.4",
"description": "Combat-focused module for Foundry vtt",
"main": "combat-utility-belt.js",
"devDependencies": {
Expand Down

0 comments on commit 8143337

Please sign in to comment.