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
commitd044ba2fb9be15a3dca066ec93fea3db16159801 (patch)
tree30a4177285a84db71246fc09795c64b124187e97 /EssentialsChat/src/com
parent5eb3d9fa42838f006a329f311a522aeb8fdd1d63 (diff)
downloadEssentials-d044ba2fb9be15a3dca066ec93fea3db16159801.tar
Essentials-d044ba2fb9be15a3dca066ec93fea3db16159801.tar.gz
Essentials-d044ba2fb9be15a3dca066ec93fea3db16159801.tar.lz
Essentials-d044ba2fb9be15a3dca066ec93fea3db16159801.tar.xz
Essentials-d044ba2fb9be15a3dca066ec93fea3db16159801.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()));
}
}
}