From 6f548442515f167cd41543252d8ddfc7dbbac66a Mon Sep 17 00:00:00 2001 From: 0XPYEX0 <15880561966@163.com> Date: Sat, 16 Oct 2021 12:10:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../me/xpyex/plugin/flywithfood/sponge/commands/FlyCmd.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/java/me/xpyex/plugin/flywithfood/sponge/commands/FlyCmd.java b/src/main/java/me/xpyex/plugin/flywithfood/sponge/commands/FlyCmd.java index 2a256af..5bee843 100644 --- a/src/main/java/me/xpyex/plugin/flywithfood/sponge/commands/FlyCmd.java +++ b/src/main/java/me/xpyex/plugin/flywithfood/sponge/commands/FlyCmd.java @@ -219,6 +219,10 @@ public static void registerCmd() { }) .build(), "toggle") .build(); - Sponge.getCommandManager().register(FlyWithFood.INSTANCE, cmd, "flywithfood", "fly", "fwf"); + Sponge.getCommandManager().register(FlyWithFood.INSTANCE, + cmd, + "FlyWithFood".toLowerCase(), //傻逼IDEA一直提示我拼写错误 + "fly", + "fwf"); } }