mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-03 06:57:39 +01:00
Whoops, wrong event.
This commit is contained in:
parent
5eb3d9fa42
commit
d044ba2fb9
@ -146,7 +146,7 @@ public class EssentialsChatPlayerListenerNormal extends EssentialsChatPlayer
|
|||||||
{
|
{
|
||||||
for (Player onlinePlayer : spyEvent.getRecipients())
|
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 New Issue
Block a user