From fc88489d2b6bb332d53849f1f7c649f851acaa38 Mon Sep 17 00:00:00 2001 From: tanyaofei Date: Wed, 14 Aug 2024 08:57:43 +0800 Subject: [PATCH] Noting important --- .../hello09x/fakeplayer/core/command/impl/ConfigCommand.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fakeplayer-core/src/main/java/io/github/hello09x/fakeplayer/core/command/impl/ConfigCommand.java b/fakeplayer-core/src/main/java/io/github/hello09x/fakeplayer/core/command/impl/ConfigCommand.java index 48a718f..e61b2db 100644 --- a/fakeplayer-core/src/main/java/io/github/hello09x/fakeplayer/core/command/impl/ConfigCommand.java +++ b/fakeplayer-core/src/main/java/io/github/hello09x/fakeplayer/core/command/impl/ConfigCommand.java @@ -10,7 +10,6 @@ import io.github.hello09x.devtools.core.utils.ComponentUtils; import io.github.hello09x.fakeplayer.core.Main; import io.github.hello09x.fakeplayer.core.manager.feature.FakeplayerFeatureManager; import io.github.hello09x.fakeplayer.core.repository.model.Feature; -import net.kyori.adventure.text.Component; import net.kyori.adventure.text.format.Style; import org.bukkit.Bukkit; import org.bukkit.entity.Player; @@ -73,7 +72,7 @@ public class ConfigCommand extends AbstractCommand { ); }).toList()) )).toList(); - var message = Component.join(separator(newline()), lines); + var message = join(separator(newline()), lines); Bukkit.getScheduler().runTask(Main.getInstance(), () -> sender.sendMessage(message)); }); }