diff --git a/lootpopulatornpc5e.js b/lootpopulatornpc5e.js index e90a2fc..fc6fc79 100644 --- a/lootpopulatornpc5e.js +++ b/lootpopulatornpc5e.js @@ -14,7 +14,7 @@ Hooks.once('ready', () => { type: Boolean }); - if (typeof game.betterTables.generateLoot === "function") { + if (typeof game.betterTables !== "undefined") { game.settings.register("lootpopulatornpc5e", "useBetterRolltables", { name: "Use better rolltables", hint: "If installed make use of better rolltables?", diff --git a/module.json b/module.json index 779daaa..fa8cb39 100644 --- a/module.json +++ b/module.json @@ -2,9 +2,9 @@ "name": "lootpopulatornpc5e", "title": "LootPopulator NPC 5e", "description": "A module to auto populate loot on NPCs", - "version": "0.0.4", + "version": "0.0.5", "minimumCoreVersion": "0.8.5", - "compatibleCoreVersion": "0.8.5", + "compatibleCoreVersion": "0.8.6", "author": "Daniel Böttner", "systems": ["dnd5e"], "includes": [