From 646c9c6d16f3d92f79b85191412ef4293cd256dc Mon Sep 17 00:00:00 2001 From: Jendrik Date: Thu, 25 Sep 2025 23:40:32 +0200 Subject: [PATCH] fixed a bug with the sidebar entry --- src/main.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.mjs b/src/main.mjs index 214312c3..49557c2a 100644 --- a/src/main.mjs +++ b/src/main.mjs @@ -18,7 +18,7 @@ Hooks.on("getActorContextOptions", (application, menuItems) => { name: "Import from XML", icon: '', callback: (li) => { - const actorId = li.data("document-id") + const actorId = li.getAttribute("data-entry-id") const actor = game.actors.get(actorId) actor.import() }