We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e12651f commit 0487367Copy full SHA for 0487367
src/module/hooks.js
@@ -60,7 +60,7 @@ export default class PolyglotHooks {
60
* @returns {Boolean}
61
*/
62
static preCreateChatMessage(message, data, options, userId) {
63
- const isCheckboxEnabled = !game.settings.get("polyglot", "checkbox");
+ const isCheckboxEnabled = !game.polyglot.tomSelect.isDisabled;
64
const isMessageLink = game.polyglot._isMessageLink(data.content);
65
const isMessageInlineRoll = /\[\[(.*?)\]\]/g.test(data.content);
66
// Message preprended by /desc from either Cautious GM Tools or Narrator Tools modules
0 commit comments