From db200a040188af9ab1e163c83b6009083d04d8e5 Mon Sep 17 00:00:00 2001 From: KHobbits Date: Sat, 13 Jul 2013 18:56:18 +0100 Subject: Whoops, wrong event. --- .../earth2me/essentials/chat/EssentialsChatPlayerListenerNormal.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'EssentialsChat/src/com') diff --git a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerNormal.java b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerNormal.java index 82096f460..1143c2588 100644 --- a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerNormal.java +++ b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerNormal.java @@ -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())); } } } -- cgit v1.2.3