diff --git a/module.json b/module.json
index b26c00b..0b2f0f9 100644
--- a/module.json
+++ b/module.json
@@ -1,10 +1,10 @@
{
"title": "The Dark Eye 5th Ed. - Optolith Connector",
"description": "Import heros created with the famous Optolith character generator into Foundry VTT.",
- "version": "6.0.0",
+ "version": "6.0.1",
"url": "https://github.com/Plushtoast/dsa5-optolith",
"manifest": "https://raw.githubusercontent.com/Plushtoast/dsa5-optolith/main/module.json",
- "download": "https://github.com/Plushtoast/dsa5-optolith/releases/download/6.0.0/dsa5-optolith-6.0.0.zip",
+ "download": "https://github.com/Plushtoast/dsa5-optolith/releases/download/6.0.1/dsa5-optolith-6.0.1.zip",
"languages": [{
"lang": "de",
"name": "Deutsch",
diff --git a/modules/init.js b/modules/init.js
index 68f4ba6..e37b76b 100644
--- a/modules/init.js
+++ b/modules/init.js
@@ -5,7 +5,7 @@ Hooks.once("ready", () => {
})
Hooks.on("renderActorDirectory", (app, html, data) => {
- if (game.user.can("create")) {
+ if (game.user.can("ACTOR_CREATE")) {
const button = $(``)
html.find(".header-actions").append(button)
button.click(() => { game.dsa5.optolith.openDialog() });