From 29fe7c3f76f1d4e9b4ee76f7367717369cd0dfcd Mon Sep 17 00:00:00 2001 From: CarmJos Date: Sun, 12 Jun 2022 23:39:14 +0800 Subject: [PATCH] =?UTF-8?q?feat(command):=20=E6=96=B0=E5=A2=9E=E5=8F=AF?= =?UTF-8?q?=E5=BF=AB=E6=8D=B7return=E7=9A=84=E6=B6=88=E6=81=AF=E6=96=B9?= =?UTF-8?q?=E6=B3=95=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- base/command/pom.xml | 13 +------------ .../lib/easyplugin/command/NamedExecutor.java | 17 ----------------- base/gui/pom.xml | 2 +- base/main/pom.xml | 2 +- collection/all/pom.xml | 2 +- collection/bom/pom.xml | 2 +- collection/common/pom.xml | 2 +- extension/papi/pom.xml | 2 +- extension/vault/pom.xml | 2 +- pom.xml | 2 +- 10 files changed, 9 insertions(+), 37 deletions(-) diff --git a/base/command/pom.xml b/base/command/pom.xml index d439408..673a0f1 100644 --- a/base/command/pom.xml +++ b/base/command/pom.xml @@ -5,7 +5,7 @@ easyplugin-parent cc.carm.lib - 1.4.6 + 1.4.7 ../../pom.xml 4.0.0 @@ -48,15 +48,4 @@ https://github.com/CarmJos/EasyPlugin/actions/workflows/maven.yml - - - - cc.carm.lib - mineconfiguration-bukkit-base - 2.0.0 - provided - - - - \ No newline at end of file diff --git a/base/command/src/main/java/cc/carm/lib/easyplugin/command/NamedExecutor.java b/base/command/src/main/java/cc/carm/lib/easyplugin/command/NamedExecutor.java index fe733bf..8da03c8 100644 --- a/base/command/src/main/java/cc/carm/lib/easyplugin/command/NamedExecutor.java +++ b/base/command/src/main/java/cc/carm/lib/easyplugin/command/NamedExecutor.java @@ -1,7 +1,5 @@ package cc.carm.lib.easyplugin.command; -import cc.carm.lib.mineconfiguration.bukkit.value.ConfiguredMessage; -import cc.carm.lib.mineconfiguration.bukkit.value.ConfiguredMessageList; import org.bukkit.command.CommandSender; import org.bukkit.permissions.Permissible; import org.jetbrains.annotations.NotNull; @@ -35,19 +33,4 @@ public interface NamedExecutor { return null; } - default Void sendMessage(@NotNull CommandSender sender, - @NotNull ConfiguredMessageList messages, - @Nullable Object... params) { - messages.send(sender, params); - return null; - } - - default Void sendMessage(@NotNull CommandSender sender, - @NotNull ConfiguredMessage message, - @Nullable Object... params) { - message.send(sender, params); - return null; - } - - } diff --git a/base/gui/pom.xml b/base/gui/pom.xml index 65fb0f8..cde3eff 100644 --- a/base/gui/pom.xml +++ b/base/gui/pom.xml @@ -5,7 +5,7 @@ easyplugin-parent cc.carm.lib - 1.4.6 + 1.4.7 ../../pom.xml 4.0.0 diff --git a/base/main/pom.xml b/base/main/pom.xml index 99a0c2f..a10e580 100644 --- a/base/main/pom.xml +++ b/base/main/pom.xml @@ -5,7 +5,7 @@ easyplugin-parent cc.carm.lib - 1.4.6 + 1.4.7 ../../pom.xml 4.0.0 diff --git a/collection/all/pom.xml b/collection/all/pom.xml index 84d93fb..af97cf4 100644 --- a/collection/all/pom.xml +++ b/collection/all/pom.xml @@ -5,7 +5,7 @@ easyplugin-parent cc.carm.lib - 1.4.6 + 1.4.7 ../../pom.xml 4.0.0 diff --git a/collection/bom/pom.xml b/collection/bom/pom.xml index 601fb7b..816d9a0 100644 --- a/collection/bom/pom.xml +++ b/collection/bom/pom.xml @@ -5,7 +5,7 @@ easyplugin-parent cc.carm.lib - 1.4.6 + 1.4.7 ../../pom.xml 4.0.0 diff --git a/collection/common/pom.xml b/collection/common/pom.xml index 03de656..eeec9a6 100644 --- a/collection/common/pom.xml +++ b/collection/common/pom.xml @@ -5,7 +5,7 @@ easyplugin-parent cc.carm.lib - 1.4.6 + 1.4.7 ../../pom.xml 4.0.0 diff --git a/extension/papi/pom.xml b/extension/papi/pom.xml index 68c0a17..fe71b1b 100644 --- a/extension/papi/pom.xml +++ b/extension/papi/pom.xml @@ -5,7 +5,7 @@ easyplugin-parent cc.carm.lib - 1.4.6 + 1.4.7 ../../pom.xml 4.0.0 diff --git a/extension/vault/pom.xml b/extension/vault/pom.xml index b8ce812..3f54b0c 100644 --- a/extension/vault/pom.xml +++ b/extension/vault/pom.xml @@ -5,7 +5,7 @@ easyplugin-parent cc.carm.lib - 1.4.6 + 1.4.7 ../../pom.xml 4.0.0 diff --git a/pom.xml b/pom.xml index 7ccf10d..88e869e 100644 --- a/pom.xml +++ b/pom.xml @@ -15,7 +15,7 @@ cc.carm.lib easyplugin-parent pom - 1.4.6 + 1.4.7 base/main