mirror of
https://github.com/plexusorg/Plex.git
synced 2024-12-22 09:07:37 +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
@ -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 New Issue
Block a user