Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Commit

Permalink
Chat: fix not replaced trigger in message
Browse files Browse the repository at this point in the history
  • Loading branch information
TheFaser committed Nov 5, 2023
1 parent 64d7963 commit 3f962a9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ public void playerChatEvent(@NotNull AsyncPlayerChatEvent event) {

boolean isCancelled = config.getVaultBoolean(sender, getModule() + ".list." + playerChat + ".set-cancelled");
event.setCancelled(isCancelled);
event.setMessage(message);
event.getRecipients().clear();
}
}

0 comments on commit 3f962a9

Please sign in to comment.