diff options
author | KHobbits <rob@khobbits.co.uk> | 2012-08-09 13:11:51 +0100 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2012-08-09 13:11:51 +0100 |
commit | be758c99230a472b79ce04cdd0c383031a75b879 (patch) | |
tree | b973ac02acadb2000536ebcbbede395b662385e2 /EssentialsChat/src/com/earth2me | |
parent | beea99586131bb1b9918a4cd6e0e3ac98ef3fb9a (diff) | |
download | Essentials-be758c99230a472b79ce04cdd0c383031a75b879.tar Essentials-be758c99230a472b79ce04cdd0c383031a75b879.tar.gz Essentials-be758c99230a472b79ce04cdd0c383031a75b879.tar.lz Essentials-be758c99230a472b79ce04cdd0c383031a75b879.tar.xz Essentials-be758c99230a472b79ce04cdd0c383031a75b879.zip |
Fix Chat Formatting so chat type is shown first.
Diffstat (limited to 'EssentialsChat/src/com/earth2me')
-rw-r--r-- | EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayer.java b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayer.java index 1ebb6389c..bc6b27aea 100644 --- a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayer.java +++ b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayer.java @@ -172,7 +172,7 @@ public abstract class EssentialsChatPlayer implements Listener } } - String message = String.format(event.getFormat(), type.concat(sender.getDisplayName()), event.getMessage()); + String message = type.concat(String.format(event.getFormat(), sender.getDisplayName(), event.getMessage())); synchronized (listeners) { for (Map.Entry<String, IEssentialsChatListener> listener : listeners.entrySet()) |