mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-04-06 13:30:43 +08:00
Update display names before formatting chat messages (#5282)
This commit is contained in:
parent
ecb1850451
commit
75481925f7
@ -59,6 +59,9 @@ public abstract class AbstractChatHandler {
|
||||
return;
|
||||
}
|
||||
|
||||
// Ensure we're getting the latest display name
|
||||
user.setDisplayNick();
|
||||
|
||||
// Reuse cached IntermediateChat if available
|
||||
ChatProcessingCache.ProcessedChat chat = cache.getProcessedChat(event.getPlayer());
|
||||
if (chat == null) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user