Gestion des signes draconiques #455
@ -3341,7 +3341,7 @@ export class RdDActor extends Actor {
|
|||||||
await this.deleteEmbeddedDocuments('Item', [ potionData._id ] );
|
await this.deleteEmbeddedDocuments('Item', [ potionData._id ] );
|
||||||
} else {
|
} else {
|
||||||
let update = { _id: potionData._id, 'data.quantite': newQuantite};
|
let update = { _id: potionData._id, 'data.quantite': newQuantite};
|
||||||
const updated = await this.updateEmbeddedDocuments('Item', [update]); // Updates one EmbeddedEntity
|
await this.updateEmbeddedDocuments('Item', [update]); // Updates one EmbeddedEntity
|
||||||
}
|
}
|
||||||
ChatMessage.create({
|
ChatMessage.create({
|
||||||
whisper: ChatUtility.getWhisperRecipientsAndGMs(game.user.name),
|
whisper: ChatUtility.getWhisperRecipientsAndGMs(game.user.name),
|
||||||
|
Loading…
Reference in New Issue
Block a user