mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-23 05:53:54 +00:00
Add socialSpyPrefix message.
This commit is contained in:
parent
c4c303dbfb
commit
6fe87184ae
26 changed files with 26 additions and 2 deletions
|
@ -86,7 +86,7 @@ public class SimpleMessageRecipient implements IMessageRecipient {
|
|||
// Don't send socialspy messages to message sender/receiver to prevent spam
|
||||
&& !onlineUser.equals(senderUser)
|
||||
&& !onlineUser.equals(recipient)) {
|
||||
onlineUser.sendMessage(tl("msgFormat", getDisplayName(), recipient.getDisplayName(), message));
|
||||
onlineUser.sendMessage(tl("socialSpyPrefix") + tl("msgFormat", getDisplayName(), recipient.getDisplayName(), message));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue