diff --git a/src/main/java/land/chipmunk/chipmunkbot/command/PlayerCommandSource.java b/src/main/java/land/chipmunk/chipmunkbot/command/PlayerCommandSource.java index 973aa59..d13b5f4 100644 --- a/src/main/java/land/chipmunk/chipmunkbot/command/PlayerCommandSource.java +++ b/src/main/java/land/chipmunk/chipmunkbot/command/PlayerCommandSource.java @@ -26,10 +26,7 @@ public class PlayerCommandSource extends CommandSource { @Override public Component displayName () { - final Component explicitDisplayName = player.displayName(); - final Component displayName = explicitDisplayName != null ? explicitDisplayName : Component.text(player.profile().getName()); - - return displayName; + return Component.selector(player.profile().getId().toString()); } @Override public MutablePlayerListEntry player () { return this.player; }