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 | b2f75664a742aedc6ca94cf8fb68e02816e3c873 (patch) | |
tree | f0c60e062f1d53d68e37f166ec83dc1c3c0f7cf1 /EssentialsChat/src | |
parent | 8868e9f6b1c348d215d194af830d1cdb151114da (diff) | |
download | Essentials-b2f75664a742aedc6ca94cf8fb68e02816e3c873.tar Essentials-b2f75664a742aedc6ca94cf8fb68e02816e3c873.tar.gz Essentials-b2f75664a742aedc6ca94cf8fb68e02816e3c873.tar.lz Essentials-b2f75664a742aedc6ca94cf8fb68e02816e3c873.tar.xz Essentials-b2f75664a742aedc6ca94cf8fb68e02816e3c873.zip |
Fix Chat Formatting so chat type is shown first.
Diffstat (limited to 'EssentialsChat/src')
-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()) |