mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-01 20:30:48 +02:00
Fix Chat Formatting so chat type is shown first.
This commit is contained in:
@@ -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)
|
synchronized (listeners)
|
||||||
{
|
{
|
||||||
for (Map.Entry<String, IEssentialsChatListener> listener : listeners.entrySet())
|
for (Map.Entry<String, IEssentialsChatListener> listener : listeners.entrySet())
|
||||||
|
Reference in New Issue
Block a user