From 518517a4e02313ebe2793edd8c539df4489a046d Mon Sep 17 00:00:00 2001 From: MiniDay <372403923@qq.com> Date: Thu, 8 Aug 2024 03:48:17 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E5=91=98=E6=8C=87=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mc/plugin/ball/bungee/command/BungeeBallCommand.java | 2 +- .../cn/hamster3/mc/plugin/ball/common/command/BallCommand.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ball-bungee/src/main/java/cn/hamster3/mc/plugin/ball/bungee/command/BungeeBallCommand.java b/ball-bungee/src/main/java/cn/hamster3/mc/plugin/ball/bungee/command/BungeeBallCommand.java index 455934c..59a3951 100644 --- a/ball-bungee/src/main/java/cn/hamster3/mc/plugin/ball/bungee/command/BungeeBallCommand.java +++ b/ball-bungee/src/main/java/cn/hamster3/mc/plugin/ball/bungee/command/BungeeBallCommand.java @@ -25,7 +25,7 @@ public class BungeeBallCommand extends Command { @Override public void sendMessage(@NotNull Component message) { - CoreBungeeAPI.getInstance().getAudienceProvider().sender(sender); + CoreBungeeAPI.getInstance().getAudienceProvider().sender(sender).sendMessage(message); } }, args); } diff --git a/ball-common/src/main/java/cn/hamster3/mc/plugin/ball/common/command/BallCommand.java b/ball-common/src/main/java/cn/hamster3/mc/plugin/ball/common/command/BallCommand.java index 1d5bbce..32fac84 100644 --- a/ball-common/src/main/java/cn/hamster3/mc/plugin/ball/common/command/BallCommand.java +++ b/ball-common/src/main/java/cn/hamster3/mc/plugin/ball/common/command/BallCommand.java @@ -9,7 +9,7 @@ public class BallCommand extends ParentCommand { private BallCommand() { addChildCommand(PlayerInfoCommand.INSTANCE); addChildCommand(SudoPlayerCommand.INSTANCE); - addChildCommand(SudoAllConsoleCommand.INSTANCE); + addChildCommand(SudoAllPlayerCommand.INSTANCE); addChildCommand(SudoConsoleCommand.INSTANCE); addChildCommand(SudoAllConsoleCommand.INSTANCE); }