Merge branch 'v9-deprecations' into 'master'

refactor: address a couple of V9 deprecations

See merge request dungeonslayers/ds4!164
This commit is contained in:
Johannes Loher 2022-01-08 22:57:28 +00:00
commit 3ca23627dc
3 changed files with 10 additions and 10 deletions

View file

@ -27,7 +27,7 @@ export class DS4Actor extends Actor {
prepareData(): void { prepareData(): void {
this.data.reset(); this.data.reset();
this.prepareBaseData(); this.prepareBaseData();
this.prepareEmbeddedEntities(); this.prepareEmbeddedDocuments();
this.applyActiveEffectsToBaseData(); this.applyActiveEffectsToBaseData();
this.prepareDerivedData(); this.prepareDerivedData();
this.applyActiveEffectsToDerivedData(); this.applyActiveEffectsToDerivedData();
@ -57,7 +57,7 @@ export class DS4Actor extends Actor {
/** /**
* @override * @override
* We override this with an empty implementation because we have our own custom way of applying * We override this with an empty implementation because we have our own custom way of applying
* {@link ActiveEffect}s and {@link Actor#prepareEmbeddedEntities} calls this. * {@link ActiveEffect}s and {@link Actor#prepareEmbeddedDocuments} calls this.
*/ */
applyActiveEffects(): void { applyActiveEffects(): void {
return; return;

View file

@ -34,7 +34,7 @@
"changelog": "https://git.f3l.de/dungeonslayers/ds4/-/releases/1.11.1", "changelog": "https://git.f3l.de/dungeonslayers/ds4/-/releases/1.11.1",
"version": "1.11.1", "version": "1.11.1",
"minimumCoreVersion": "9.238", "minimumCoreVersion": "9.238",
"compatibleCoreVersion": "9.238", "compatibleCoreVersion": "9",
"esmodules": ["module/ds4.js"], "esmodules": ["module/ds4.js"],
"styles": ["css/ds4.css"], "styles": ["css/ds4.css"],
"languages": [ "languages": [
@ -56,7 +56,7 @@
"system": "ds4", "system": "ds4",
"module": "ds4", "module": "ds4",
"path": "./packs/special-creature-abilities.db", "path": "./packs/special-creature-abilities.db",
"entity": "Item" "type": "Item"
}, },
{ {
"name": "languages-and-scripts", "name": "languages-and-scripts",
@ -64,7 +64,7 @@
"system": "ds4", "system": "ds4",
"module": "ds4", "module": "ds4",
"path": "./packs/languages-and-scripts.db", "path": "./packs/languages-and-scripts.db",
"entity": "Item" "type": "Item"
}, },
{ {
"name": "equipment", "name": "equipment",
@ -72,7 +72,7 @@
"system": "ds4", "system": "ds4",
"module": "ds4", "module": "ds4",
"path": "./packs/items.db", "path": "./packs/items.db",
"entity": "Item" "type": "Item"
}, },
{ {
"name": "spells", "name": "spells",
@ -80,7 +80,7 @@
"system": "ds4", "system": "ds4",
"module": "ds4", "module": "ds4",
"path": "./packs/spells.db", "path": "./packs/spells.db",
"entity": "Item" "type": "Item"
}, },
{ {
"name": "creatures", "name": "creatures",
@ -88,7 +88,7 @@
"system": "ds4", "system": "ds4",
"module": "ds4", "module": "ds4",
"path": "./packs/creatures.db", "path": "./packs/creatures.db",
"entity": "Actor" "type": "Actor"
}, },
{ {
"name": "racial-abilities", "name": "racial-abilities",
@ -96,7 +96,7 @@
"system": "ds4", "system": "ds4",
"module": "ds4", "module": "ds4",
"path": "./packs/racial-abilities.db", "path": "./packs/racial-abilities.db",
"entity": "Item" "type": "Item"
} }
], ],
"manifest": "https://git.f3l.de/api/v4/projects/dungeonslayers%2Fds4/packages/generic/ds4/latest/system.json", "manifest": "https://git.f3l.de/api/v4/projects/dungeonslayers%2Fds4/packages/generic/ds4/latest/system.json",

View file

@ -21,7 +21,7 @@ Additional elements of the side-properties div can be handed over via the @parti
{{/if}} {{/if}}
<div class="side-property"> <div class="side-property">
<label for="data.actor">{{localize 'DS4.ItemOwner'}}</label> <label for="data.actor">{{localize 'DS4.ItemOwner'}}</label>
<a class="entity-link" draggable="true" data-entity="Actor" data-id="{{actor.id}}"><i <a class="content-link entity-link" draggable="true" data-type="Actor" data-entity="Actor" data-id="{{actor.id}}"><i
class="fas fa-user"></i>{{actor.name}}</a> class="fas fa-user"></i>{{actor.name}}</a>
</div> </div>
{{#if isPhysical}} {{#if isPhysical}}