mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-22 07:23:37 +02:00
Fixed onCreate and preDelete
This commit is contained in:
parent
104616bc3d
commit
b08b8b93b6
2 changed files with 9 additions and 6 deletions
|
|
@ -125,6 +125,8 @@ export default class DhpActor extends Actor {
|
|||
game.system.registeredTriggers.unregisterItemTriggers(token.actor.items);
|
||||
}
|
||||
}
|
||||
|
||||
if(this.system._preDelete() === false) return false;
|
||||
}
|
||||
|
||||
_onDelete(options, userId) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue