From bddaecbc74e317cc4e7c09f3d7692472d5840f91 Mon Sep 17 00:00:00 2001 From: sladecraven Date: Sun, 11 Sep 2022 16:14:27 +0200 Subject: [PATCH] Fix entite --- module/actor.js | 2 +- system.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/module/actor.js b/module/actor.js index 1d0babd9..f1496e1f 100644 --- a/module/actor.js +++ b/module/actor.js @@ -3554,7 +3554,7 @@ export class RdDActor extends Actor { /* -------------------------------------------- */ isEntite(typeentite = []) { - return this.type == 'entite' && (typeentite.length == 0 || typeentite.includes(this.system.typeentite)); + return this.type == 'entite' && (typeentite.length == 0 || typeentite.includes(this.system.definition.typeentite)); } /* -------------------------------------------- */ diff --git a/system.json b/system.json index c5e471d5..858352c0 100644 --- a/system.json +++ b/system.json @@ -34,7 +34,7 @@ ], "url": "https://www.uberwald.me/gitea/public/foundryvtt-reve-de-dragon/", "license": "LICENSE.txt", - "version": "10.0.12", + "version": "10.0.13", "compatibility": { "minimum": "10" }, @@ -332,7 +332,7 @@ ], "socket": true, "manifest": "https://www.uberwald.me/gitea/public/foundryvtt-reve-de-dragon/raw/v10/system.json", - "download": "https://www.uberwald.me/gitea/public/foundryvtt-reve-de-dragon/archive/foundryvtt-reve-de-dragon-10.0.12.zip", + "download": "https://www.uberwald.me/gitea/public/foundryvtt-reve-de-dragon/archive/foundryvtt-reve-de-dragon-10.0.13.zip", "gridDistance": 1, "gridUnits": "m", "primaryTokenAttribute": "sante.vie",