diff options
author | KHobbits <rob@khobbits.co.uk> | 2013-07-13 18:56:18 +0100 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2013-07-13 18:56:18 +0100 |
commit | d044ba2fb9be15a3dca066ec93fea3db16159801 (patch) | |
tree | 30a4177285a84db71246fc09795c64b124187e97 /EssentialsChat/src/com | |
parent | 5eb3d9fa42838f006a329f311a522aeb8fdd1d63 (diff) | |
download | Essentials-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.java | 2 |
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())); } } } |