From dd5f31a673669e8c3af1393262bcf2c93c9cb6a3 Mon Sep 17 00:00:00 2001 From: huanmeng-qwq <1871735932@qq.com> Date: Thu, 19 Sep 2024 22:53:56 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E9=87=8D=E5=91=BD=E5=90=8DliteKookSett?= =?UTF-8?q?ings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../snw/kookbc/impl/command/litecommands/LiteKookFactory.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/snw/kookbc/impl/command/litecommands/LiteKookFactory.java b/src/main/java/snw/kookbc/impl/command/litecommands/LiteKookFactory.java index 487dae04..dff5c1de 100644 --- a/src/main/java/snw/kookbc/impl/command/litecommands/LiteKookFactory.java +++ b/src/main/java/snw/kookbc/impl/command/litecommands/LiteKookFactory.java @@ -60,7 +60,7 @@ public static } @SuppressWarnings("unchecked") - public static > B builder(Plugin plugin, LiteKookSettings liteBungeeSettings) { + public static > B builder(Plugin plugin, LiteKookSettings liteKookSettings) { KBCClient client = ((CoreImpl) plugin.getCore()).getClient(); HttpAPI httpAPI = plugin.getCore().getHttpAPI(); LiteAnnotationsProcessorExtension processorExtension = new LiteAnnotationsProcessorExtension<>(); @@ -68,7 +68,7 @@ public static .processor(new PrefixAnnotationResolver<>()) .processor(new ResultAnnotationResolver<>(plugin.getLogger())); return (B) - LiteCommandsFactory.builder(CommandSender.class, new KookLitePlatform(liteBungeeSettings, plugin, ((CommandManagerImpl) plugin.getCore().getCommandManager()).getCommandMap())) + LiteCommandsFactory.builder(CommandSender.class, new KookLitePlatform(liteKookSettings, plugin, ((CommandManagerImpl) plugin.getCore().getCommandManager()).getCommandMap())) .bind(Core.class, plugin::getCore) .bind(Plugin.class, () -> plugin) .bindUnsafe(plugin.getClass(), () -> plugin)