Skip to content

Commit

Permalink
Correct check if better rolltables is present in the system.
Browse files Browse the repository at this point in the history
version bump to latest release version of FVTT.
  • Loading branch information
DanielBoettner committed Jun 2, 2021
1 parent 470d498 commit c0629f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lootpopulatornpc5e.js
Original file line number Diff line number Diff line change
Expand Up @@ -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?",
Expand Down
4 changes: 2 additions & 2 deletions module.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down

0 comments on commit c0629f0

Please sign in to comment.