Fixed GM Monitor update on prepared items
This commit is contained in:
@@ -6,14 +6,15 @@ Date format : day/month/year
|
|||||||
> - `foundry-version`: Stick to the major version of FoundryVTT.
|
> - `foundry-version`: Stick to the major version of FoundryVTT.
|
||||||
> - `system-version`: System functionalities and Fixes.
|
> - `system-version`: System functionalities and Fixes.
|
||||||
|
|
||||||
## 1.12.3 - ??/03/2025 - Fixes and Compendiums Filters
|
## 1.12.3 - ??/03/2025 - Fixes and Compendiums Filters (Thx to Litasa)
|
||||||
- Added Compendiums Filters (Thx to Litasa #41)
|
- Added Compendiums Filters (#41)
|
||||||
- Separated the reference and the page number from book reference for filtering purpose.
|
- Separated the reference and the page number from book reference for filtering purpose.
|
||||||
- Adding filters in compendium for rarity, ring, and source.
|
- Adding filters in compendium for rarity, ring, and source.
|
||||||
- Add option for GM to limit what sources is being displayed to the players in compendiums. GM can still see everything and give players items/techniques if needed.
|
- Add option for GM to limit what sources is being displayed to the players in compendiums. GM can still see everything and give players items/techniques if needed.
|
||||||
- Fixed Npc Generator : Actor now update correctly.
|
- Fixed Npc Generator : Actor now update correctly.
|
||||||
- Fixed the sidebar's icons width on collapsed state.
|
- Fixed the sidebar's icons width on collapsed state.
|
||||||
- Fixed Left/Right Click order on Gm Tools/Monitor tooltips.
|
- Fixed Left/Right Click order on Gm Tools/Monitor tooltips.
|
||||||
|
- Fixed GM Monitor now correctly update when prepared items state change.
|
||||||
|
|
||||||
## 1.12.2 - 16/09/2024 - Bugfixes
|
## 1.12.2 - 16/09/2024 - Bugfixes
|
||||||
- Modified : The checkbox `reverseFatigueBar` is now a drop-down with `none`/`fatigue`/`strife`/`both`, and is now an client preference.
|
- Modified : The checkbox `reverseFatigueBar` is now a drop-down with `none`/`fatigue`/`strife`/`both`, and is now an client preference.
|
||||||
|
|||||||
@@ -592,7 +592,13 @@ export class BaseCharacterSheetL5r5e extends BaseSheetL5r5e {
|
|||||||
data.readied = tmpItem.system.readied;
|
data.readied = tmpItem.system.readied;
|
||||||
}
|
}
|
||||||
|
|
||||||
tmpItem.update({ system: data });
|
// Update the Item: we need to manually notify the "Gm Monitor" as the Actor himself is not updated
|
||||||
|
tmpItem.update({ system: data }).then(() => {
|
||||||
|
// Only if this actor is watched
|
||||||
|
if (this.actor && game.settings.get(CONFIG.l5r5e.namespace, "gm-monitor-actors").some((uuid) => uuid === this.actor.uuid)) {
|
||||||
|
game.l5r5e.HelpersL5r5e.refreshLocalAndSocket("l5r5e-gm-monitor");
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user