Fix services/boutique

This commit is contained in:
LeRatierBretonnien 2022-12-23 14:26:23 +01:00
parent 7d8b5c9549
commit 4f80c719c2
2 changed files with 3 additions and 3 deletions

View File

@ -67,7 +67,7 @@ export class RdDServiceItemSheet extends RdDItemSheet {
linkedItem = await SystemCompendiums.loadDocument(linkedItem); linkedItem = await SystemCompendiums.loadDocument(linkedItem);
} }
if (linkedItem.isInventaire()) { if (linkedItem.isInventaire()) {
await this.item.addRefItem(RdDServiceItemSheet.createSubItem(linkedItem)); await this.item.addRefItem(RdDItemService.createSubItem(linkedItem));
} }
else { else {
ui.notifications.warn(`${this.item.name} ne peut pas proposer à la vente de ${Misc.typeName('Item', linkedItem.type)}: ${linkedItem.name}`); ui.notifications.warn(`${this.item.name} ne peut pas proposer à la vente de ${Misc.typeName('Item', linkedItem.type)}: ${linkedItem.name}`);

View File

@ -1,8 +1,8 @@
{ {
"id": "foundryvtt-reve-de-dragon", "id": "foundryvtt-reve-de-dragon",
"title": "Rêve de Dragon", "title": "Rêve de Dragon",
"version": "10.4.0", "version": "10.4.1",
"download": "https://www.uberwald.me/gitea/public/foundryvtt-reve-de-dragon/archive/foundryvtt-reve-de-dragon-10.4.0.zip", "download": "https://www.uberwald.me/gitea/public/foundryvtt-reve-de-dragon/archive/foundryvtt-reve-de-dragon-10.4.1.zip",
"manifest": "https://www.uberwald.me/gitea/public/foundryvtt-reve-de-dragon/raw/v10/system.json", "manifest": "https://www.uberwald.me/gitea/public/foundryvtt-reve-de-dragon/raw/v10/system.json",
"compatibility": { "compatibility": {
"minimum": "10", "minimum": "10",