Skip to content

Commit

Permalink
修改命令
Browse files Browse the repository at this point in the history
  • Loading branch information
0XPYEX0 committed Oct 16, 2021
1 parent ed7a5bd commit 6f54844
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
}

0 comments on commit 6f54844

Please sign in to comment.