Whoops, wrong event.

This commit is contained in:
KHobbits 2013-07-13 18:56:18 +01:00
parent 5eb3d9fa42
commit d044ba2fb9

View File

@ -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()));
} }
} }
} }