mclemente / fvtt-module-polyglot

Talk to others using a language you can speak and scrambles text you can't understand.
MIT License
41 stars 48 forks source link

Polyglot not working on D&D 5e #354

Closed Ruidolph closed 8 months ago

Ruidolph commented 8 months ago

What happened?

TypeError: Error thrown in hooked function 'updateActor' for hook 'updateActor'. options[1] is undefined [Detected 1 package: polyglot] updateUserLanguages logic.js:266 updateActor hooks.js:26

call foundry.js:730

callAll foundry.js:687
callback foundry.js:13738
documents foundry.js:13711
#handleUpdateDocuments foundry.js:13711

foundry.js:753:30 onError foundry.js:753 call_wrapped libWrapper-wrapper.js:507

listeners.js:138 onError#0 libWrapper-wrapper.js:187 #call foundry.js:734 callAll foundry.js:687 callback foundry.js:13738 documents foundry.js:13711 #handleUpdateDocuments foundry.js:13711 TypeError: Error thrown in hooked function 'renderChatLog' for hook 'renderChatLog'. options[1] is undefined [Detected 1 package: polyglot] updateUserLanguages logic.js:266 renderChatLog hooks.js:21 #call foundry.js:730 callAll foundry.js:687 _render foundry.js:5855 ### Reproduction Steps clicking the polyglot drop down, works for gm but doesn't work for players ### Which game system, and which version, are you using? dnd5e 2.4.1 ### Which Polyglot version are you using? 2.3.39