summaryrefslogtreecommitdiffstats
path: root/EssentialsChat/src
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2012-08-09 13:11:51 +0100
committerKHobbits <rob@khobbits.co.uk>2012-08-09 13:11:51 +0100
commite198b61eaea9f5a6af19b0c3f52b86003ca1c402 (patch)
treea593d2d1f85ef4a4efe8fa23bb0265b1cf9668fb /EssentialsChat/src
parent9824cd75b66094aaa7332863c4d1276df2d9d2a6 (diff)
downloadEssentials-e198b61eaea9f5a6af19b0c3f52b86003ca1c402.tar
Essentials-e198b61eaea9f5a6af19b0c3f52b86003ca1c402.tar.gz
Essentials-e198b61eaea9f5a6af19b0c3f52b86003ca1c402.tar.lz
Essentials-e198b61eaea9f5a6af19b0c3f52b86003ca1c402.tar.xz
Essentials-e198b61eaea9f5a6af19b0c3f52b86003ca1c402.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.java2
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())