This commit is contained in:
2023-05-25 15:13:41 +02:00
parent ecd164c3e5
commit 2c79743009
3 changed files with 5 additions and 13 deletions

View File

@@ -407,7 +407,6 @@ export class YggdrasillActor extends Actor {
/* -------------------------------------------- */
getActiveEffects(matching = it => true) {
let array = Array.from(this.getEmbeddedCollection("ActiveEffect").values());
return Array.from(this.getEmbeddedCollection("ActiveEffect").values()).filter(it => matching(it));
}
/* -------------------------------------------- */