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",