Skip to content

Fix runes-only messages on Foundry 14 - #498

Merged
mclemente merged 1 commit into
mclemente:masterfrom
TheGenieOfTheCode:fix-display-translated-runes
Oct 17, 2026
Merged

mclemente merged 1 commit into
mclemente:masterfrom
TheGenieOfTheCode:fix-display-translated-runes

Conversation

@TheGenieOfTheCode

Copy link
Copy Markdown
Contributor

Fixes #497

Replaces messageContent.empty().append(content) with messageContent.replaceChildren(content), so readers who don't know a language get the scrambled text when Display Translations is off.

Tested on Foundry 14.369 with a GM and a player. Without the fix, the player sees the real text of a language they don't know, and each render logs messageContent.empty is not a function. With the fix, they see only the runes, still after the re-render on token selection, with no console errors. Known languages show as before.

@mclemente
mclemente merged commit 62507d3 into mclemente:master Oct 17, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Players read unknown languages in plain text when Display Translations is off (Foundry 14)

2 participants