forked from ChomeNS/chomens-bot-java
forgor that i used displayname
This commit is contained in:
parent
094ca5018b
commit
52ac580aee
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ public class RandomTeleportCommand implements Command {
|
|||
context.sendOutput(
|
||||
Component.empty()
|
||||
.append(Component.text("Teleporting "))
|
||||
.append(sender.displayName().color(NamedTextColor.AQUA))
|
||||
.append(Component.text(sender.profile().getName()).color(NamedTextColor.AQUA))
|
||||
.append(Component.text(" to ").color(NamedTextColor.WHITE))
|
||||
.append(Component.text(stringPosition).color(NamedTextColor.GREEN))
|
||||
.append(Component.text("...").color(NamedTextColor.WHITE))
|
||||
|
|
Loading…
Reference in a new issue