1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-01-17 13:28:30 +01:00

Fix Chat Formatting so chat type is shown first.

This commit is contained in:
KHobbits 2012-08-09 13:11:51 +01:00
parent beea995861
commit be758c9923

View File

@ -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())