Fix actor

This commit is contained in:
sladecraven 2022-06-26 16:54:16 +02:00
parent 255c0a77b4
commit 9bc4260ae1

View File

@ -1030,7 +1030,6 @@ export class RdDActor extends Actor {
daterdd: game.system.rdd.calendrier.getDateFromIndex(), datereel: `${d.getDate()}/${d.getMonth() + 1}/${d.getFullYear()}`
});
await this.update({ [`system.experiencelog`]: expLog });
console.log("Add XP log", expLog);
}
/* -------------------------------------------- */
@ -4097,7 +4096,6 @@ export class RdDActor extends Actor {
/* -------------------------------------------- */
getEffectByLabel(label) {
console.log("Effects", this.getActiveEffects())
return this.getActiveEffects().find(it => it.system?.label == label);
}