From 04cf77f1bd9be93ae6361adb0ef2f8396bd05c02 Mon Sep 17 00:00:00 2001 From: routersys Date: Sat, 12 Sep 2026 01:02:05 +0900 Subject: [PATCH] =?UTF-8?q?=E8=A1=A8=E7=A4=BA=E5=90=8D=E3=82=92displayName?= =?UTF-8?q?()=E3=81=8B=E3=82=89=E5=8F=96=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/github/ucchyocean/lc3/member/ChannelMemberPlayer.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/github/ucchyocean/lc3/member/ChannelMemberPlayer.java b/src/main/java/com/github/ucchyocean/lc3/member/ChannelMemberPlayer.java index 0860040..22a18f4 100644 --- a/src/main/java/com/github/ucchyocean/lc3/member/ChannelMemberPlayer.java +++ b/src/main/java/com/github/ucchyocean/lc3/member/ChannelMemberPlayer.java @@ -19,6 +19,7 @@ import com.github.ucchyocean.lc3.LunaChatBukkit; import com.github.ucchyocean.lc3.bridge.VaultChatBridge; import net.kyori.adventure.text.Component; +import net.kyori.adventure.text.serializer.legacy.LegacyComponentSerializer; /** * ChannelMemberのBukkitPlayer実装 @@ -116,7 +117,7 @@ public class ChannelMemberPlayer extends ChannelMemberBukkit { public String getDisplayName() { Player player = getPlayer(); if ( player != null ) { - return player.getDisplayName(); + return LegacyComponentSerializer.legacySection().serialize(player.displayName()); } return getName(); }