mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-20 08:37:02 +01:00
Fixed downtime config again
This commit is contained in:
parent
20dbd3804c
commit
b8786d981e
8 changed files with 105 additions and 45 deletions
|
|
@ -71,9 +71,10 @@ export default class DhHomebrewSettings extends HandlebarsApplicationMixin(Appli
|
|||
|
||||
static async editItem(_, target) {
|
||||
const move = this.settings.restMoves[target.dataset.type].moves[target.dataset.id];
|
||||
const path = `restMoves.${target.dataset.type}.moves.${target.dataset.id}`;
|
||||
const editedMove = await game.system.api.applications.sheetConfigs.DowntimeConfig.configure(
|
||||
move,
|
||||
target.dataset.id,
|
||||
path,
|
||||
this.settings
|
||||
);
|
||||
if (!editedMove) return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue