mirror of
https://github.com/plexusorg/Plex.git
synced 2024-12-28 11:04:17 +00:00
Fix display name always being set in the config
Also, fix an unintentional double space
This commit is contained in:
parent
5c27fb00e7
commit
9dac0e799e
1 changed files with 2 additions and 2 deletions
|
@ -86,8 +86,8 @@ public class ChatListener extends PlexListener
|
|||
component = component.append(prefix).append(Component.space());
|
||||
}
|
||||
return component
|
||||
.append(Component.space())
|
||||
.append(PlexUtils.mmDeserialize(plugin.config.getString("chat.name-color", "<white>") + SafeMiniMessage.MINI_MESSAGE.serialize(sourceDisplayName)))
|
||||
.append(Component.empty())
|
||||
.append(SafeMiniMessage.mmDeserialize(plugin.config.getString("chat.name-color") + SafeMiniMessage.mmSerialize(sourceDisplayName)))
|
||||
.append(Component.space())
|
||||
.append(Component.text("»").color(NamedTextColor.GRAY))
|
||||
.append(Component.space())
|
||||
|
|
Loading…
Reference in a new issue