#36 Gestion des taches et création à partir d'un livre
This commit is contained in:
@ -196,8 +196,7 @@ export class RdDActorSheet extends ActorSheet {
|
||||
|
||||
/* -------------------------------------------- */
|
||||
async createEmptyTache( ) {
|
||||
let emptyTache = await Item.create( { name: 'Nouvelle tache', type: 'tache'} );
|
||||
await this.actor.createOwnedItem( emptyTache.data, { renderSheet: true } );
|
||||
await this.actor.createOwnedItem( { name: 'Nouvelle tache', type: 'tache'}, { renderSheet: true } );
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
|
Reference in New Issue
Block a user