#181 Gestion potions (fabrication)
This commit is contained in:
parent
1b3c5f524d
commit
daa2421ba4
@ -3341,7 +3341,7 @@ export class RdDActor extends Actor {
|
||||
await this.deleteEmbeddedDocuments('Item', [ potionData._id ] );
|
||||
} else {
|
||||
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({
|
||||
whisper: ChatUtility.getWhisperRecipientsAndGMs(game.user.name),
|
||||
|
Loading…
Reference in New Issue
Block a user