fix: CHAT_MESSAGE_TYPES -> CHAT_MESSAGE_STYLES (v14 compat)

Foundry v14 utilise style au lieu de type pour ChatMessage
et CONST.CHAT_MESSAGE_TYPES n'existe pas.
Corrigé dans tarot-deck-manager, sortilege-casting, base-actor-sheet
This commit is contained in:
2026-07-10 20:15:25 +02:00
parent 6900f6fd36
commit d1d6c051d0
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -218,7 +218,7 @@ export default class HamalronSortilegeCasting {
user: game.user.id,
speaker: ChatMessage.getSpeaker({ actor }),
content: failContent,
type: CONST.CHAT_MESSAGE_TYPES.OTHER,
style: CONST.CHAT_MESSAGE_STYLES.OTHER,
})
await deckManager.saveDeckState()
@@ -276,7 +276,7 @@ export default class HamalronSortilegeCasting {
user: game.user.id,
speaker: ChatMessage.getSpeaker({ actor }),
content: chatContent,
type: CONST.CHAT_MESSAGE_TYPES.OTHER,
style: CONST.CHAT_MESSAGE_STYLES.OTHER,
})
await deckManager.saveDeckState()