forked from public/foundryvtt-reve-de-dragon
Ajout des entites de Cauchemar
This commit is contained in:
@ -28,6 +28,10 @@ export class RdDActor extends Actor {
|
||||
*/
|
||||
|
||||
static async create(data, options) {
|
||||
|
||||
// Case of compendium global import
|
||||
if (data instanceof Array)
|
||||
return super.create(data, options);
|
||||
// If the created actor has items (only applicable to duplicated actors) bypass the new actor creation logic
|
||||
if (data.items) {
|
||||
return super.create(data, options);
|
||||
|
Reference in New Issue
Block a user