fix(gowlers-tracking-ledger): use correct Foundry combat hooks for v11
- Change combatStart hook to createCombat (correct hook for Foundry v11) - Change combatEnd hook to deleteCombat (correct hook when combat is deleted) - Add debug logging to confirm combat hooks are registered - Update version to 0.1.10 Fixes issue where combat end was never being detected, preventing encounter status from being updated to 'finished' and XP from being linked to encounters. The console logs showed onCombatEnd was never firing because the hooks had incorrect names for Foundry v11. 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
"type": "module",
|
||||
"title": "Gowler's Tracking Ledger",
|
||||
"description": "Adds HP/XP/Currency log buttons to PF1 sheets and opens the tracking dialog preloaded with the actor's logs.",
|
||||
"version": "0.1.9",
|
||||
"version": "0.1.10",
|
||||
"authors": [
|
||||
{ "name": "Gowler", "url": "https://foundryvtt.com" }
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user