Skip to content

Commit

Permalink
Fix for null whisper
Browse files Browse the repository at this point in the history
  • Loading branch information
ChasarooniZ committed Apr 2, 2024
1 parent ada318f commit b61f26e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@ Hooks.once("ready", function () {
const effectData = {
vid: data.evil ? RULES_LAWYER_EVIL_VID : RULES_LAWYER_VID,
sfx: data.evil ? RULES_LAWYER_EVIL_SFX : RULES_LAWYER_SFX,
whisper: whisper,
};
createRulesLawyerEffect(
effectData.vid,
{ chatMessage: { whisper: effectData.whisper } },
{ chatMessage: { whisper } },
effectData.sfx
);
},
Expand Down

0 comments on commit b61f26e

Please sign in to comment.