Added DHContextMenu to pass on the event from clicking a contextmenuitem

This commit is contained in:
WBHarry 2025-06-28 12:59:11 +02:00
parent 9dd05cab33
commit 992afd4d94
4 changed files with 30 additions and 4 deletions

View file

@ -112,6 +112,7 @@ Hooks.once('init', () => {
CONFIG.Token.rulerClass = DhpTokenRuler;
CONFIG.ui.resources = Resources;
CONFIG.ux.ContextMenu = applications.DhContextMenu;
game.socket.on(`system.${SYSTEM.id}`, handleSocketEvent);