From e8ae9c11468473fc9ea0843f66bdb2f937e7933c Mon Sep 17 00:00:00 2001 From: YufiriaMazenta <2199098065@qq.com> Date: Fri, 9 Feb 2024 15:52:48 +0800 Subject: [PATCH] =?UTF-8?q?[2.0.0-dev23]=E4=BF=AE=E5=A4=8D=E6=8F=92?= =?UTF-8?q?=E4=BB=B6=E9=87=8D=E8=BD=BD=E6=97=B6=E6=9C=AA=E6=AD=A3=E7=A1=AE?= =?UTF-8?q?=E9=87=8D=E8=BD=BD=E8=AF=AD=E8=A8=80=E6=96=87=E4=BB=B6=E7=9A=84?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle.kts | 2 +- .../github/yufiriamazenta/craftorithm/cmd/PluginCommand.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 56cc6541..76f74dcd 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,5 +1,5 @@ import java.text.SimpleDateFormat -version = "2.0.0-dev22" +version = "2.0.0-dev23" plugins { `java-library` diff --git a/src/main/java/com/github/yufiriamazenta/craftorithm/cmd/PluginCommand.java b/src/main/java/com/github/yufiriamazenta/craftorithm/cmd/PluginCommand.java index ad247b92..f7feb59a 100644 --- a/src/main/java/com/github/yufiriamazenta/craftorithm/cmd/PluginCommand.java +++ b/src/main/java/com/github/yufiriamazenta/craftorithm/cmd/PluginCommand.java @@ -40,7 +40,8 @@ public class PluginCommand extends CommandHandler { @Override public boolean execute(CommandSender sender, List args) { try { - Craftorithm.instance().reloadConfig(); + Craftorithm.instance().reloadPlugin(); + //TODO 更改reload ItemUtils.reloadCannotCraftLore(); ArcencielDispatcher.INSTANCE.functionFile().reloadConfig(); CraftorithmItemProvider.INSTANCE.reloadItemProvider();