mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-01-05 23:08:23 +00:00
Whoops, wrong event.
This commit is contained in:
parent
5eb3d9fa42
commit
d044ba2fb9
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ public class EssentialsChatPlayerListenerNormal extends EssentialsChatPlayer
|
|||
{
|
||||
for (Player onlinePlayer : spyEvent.getRecipients())
|
||||
{
|
||||
onlinePlayer.sendMessage(String.format(event.getFormat(), user.getDisplayName(), event.getMessage()));
|
||||
onlinePlayer.sendMessage(String.format(spyEvent.getFormat(), user.getDisplayName(), spyEvent.getMessage()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue