Fix conflict

This commit is contained in:
Dapoolp 2025-08-03 14:57:18 +02:00
commit 5400b2334d
89 changed files with 9334 additions and 170 deletions

View file

@ -93,7 +93,7 @@ export default class DHEnvironmentSettings extends DHBaseActorSettings {
const adversaries = foundry.utils.getProperty(this.actor, path);
const newAdversaries = adversaries.filter(a => a.uuid !== doc.uuid);
await this.actor.update({ [path]: newAdversaries });
await this.actor.update({ [path]: newAdversaries.map(x => x.uuid) });
}
async _onDragStart(event) {

View file

@ -223,7 +223,7 @@ export default class DhpChatLog extends foundry.applications.sidebar.tabs.ChatLo
if (!confirmed) return;
}
const target = event.target.closest('button[data-die-index]');
const target = event.target.closest('[data-die-index]');
let originalRoll_parsed = message.rolls.map(roll => JSON.parse(roll))[0];
const rollClass =
game.system.api.dice[

View file

@ -9,3 +9,7 @@ export const encounterCountdown = {
};
export const itemAttachmentSource = 'attachmentSource';
export const userFlags = {
welcomeMessage: 'welcome-message'
};

View file

@ -1,3 +1,7 @@
export const compendiumJournals = {
welcome: 'Compendium.daggerheart.journals.JournalEntry.g7NhKvwltwafmMyR'
};
export const range = {
self: {
id: 'self',