summaryrefslogtreecommitdiffstats
path: root/EssentialsChat/src/com
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2013-07-13 18:56:18 +0100
committerKHobbits <rob@khobbits.co.uk>2013-07-13 18:56:18 +0100
commitdb200a040188af9ab1e163c83b6009083d04d8e5 (patch)
tree805a6b094289ef72f56875b3981cb40cd4c01c3c /EssentialsChat/src/com
parentdc5825d5f966c6ea72f12933a6e7fcc8f57a50a8 (diff)
downloadEssentials-db200a040188af9ab1e163c83b6009083d04d8e5.tar
Essentials-db200a040188af9ab1e163c83b6009083d04d8e5.tar.gz
Essentials-db200a040188af9ab1e163c83b6009083d04d8e5.tar.lz
Essentials-db200a040188af9ab1e163c83b6009083d04d8e5.tar.xz
Essentials-db200a040188af9ab1e163c83b6009083d04d8e5.zip
Whoops, wrong event.
Diffstat (limited to 'EssentialsChat/src/com')
-rw-r--r--EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerNormal.java2
1 files changed, 1 insertions, 1 deletions
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()));
}
}
}