Skip to content

Commit

Permalink
Additional enable / disables
Browse files Browse the repository at this point in the history
  • Loading branch information
cswendrowski committed Nov 15, 2020
1 parent cb47bdd commit 33dec40
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions module.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "tabbed-chatlog",
"title": "Tabbed Chatlog",
"description": "Splits the Chatlog into In Character (per scene), Rolls (per scene), and Out of Character (global).",
"version": "1.5.6",
"version": "1.5.7",
"minimumCoreVersion": "0.6.2",
"compatibleCoreVersion": "0.7.7",
"author": "Cody Swendrowski <[email protected]>",
Expand All @@ -28,5 +28,5 @@
],
"url": "https://github.com/cswendrowski/FoundryVTT-tabbed-chatlog",
"manifest": "https://github.com/cswendrowski/FoundryVTT-tabbed-chatlog/releases/download/latest/module.json",
"download": "https://github.com/cswendrowski/FoundryVTT-tabbed-chatlog/releases/download/1.5.6/module.zip"
"download": "https://github.com/cswendrowski/FoundryVTT-tabbed-chatlog/releases/download/1.5.7/module.zip"
}
4 changes: 3 additions & 1 deletion tabbed-chatlog.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,9 @@ Hooks.on("renderChatMessage", (chatMessage, html, data) => {
}
else if (data.message.type == 5 && sceneMatches) {
if (!html.hasClass('gm-roll-hidden')) {
if (game.dice3d && !game.settings.get("dice-so-nice", "immediatelyDisplayChatMessages")) return;
if (game.dice3d && game.settings.get("dice-so-nice", "settings").enabled && game.settings.get("dice-so-nice", "enabled")) {
if (!game.settings.get("dice-so-nice", "immediatelyDisplayChatMessages")) return;
}
html.css("display", "list-item");
}
}
Expand Down

0 comments on commit 33dec40

Please sign in to comment.