#181 Gestion potions (fabrication)
This commit is contained in:
		| @@ -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), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user