Update core-bukkit-impl/src/main/java/de/kentoj/scrow/bukkit/listener/ChatStyleListener.java
This commit is contained in:
parent
be5cf042ed
commit
4450540ce1
1 changed files with 3 additions and 3 deletions
|
|
@ -18,10 +18,10 @@ public class ChatStyleListener implements Listener {
|
|||
}
|
||||
|
||||
private Component formatMessage(Player player, Component message) {
|
||||
// §7Steve: §fHi
|
||||
return Component.text()
|
||||
.append(player.displayName().color(NamedTextColor.GRAY))
|
||||
.append(Component.text(": ").color(NamedTextColor.GRAY))
|
||||
.append(player.displayName()
|
||||
.append(Component.text(": "))
|
||||
.color(NamedTextColor.GRAY))
|
||||
.append(message.color(NamedTextColor.WHITE))
|
||||
.build();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue