MsgUtil#sendMessage

Former-commit-id: 82a123e86f91f6b6bf86b71deb91f63711fcfadc
This commit is contained in:
Ghost_chu committed 2020-04-17 16:08:54 +08:00
1 parent abf55bef62
commit 506b17b0a4
1 file changed
+2 -2
@@ -49,7 +49,7 @@ public class SubCommand_Help implements CommandProcesser {
}
private void sendHelp(@NotNull CommandSender s, @NotNull String commandLabel) {
s.sendMessage(MsgUtil.getMessage("command.description.title", s));
MsgUtil.sendMessage(s,MsgUtil.getMessage("command.description.title", s));
commandCheckLoop:
for (CommandContainer container : plugin.getCommandManager().getCmds()) {
final List<String> requirePermissions = container.getPermissions();
@@ -59,7 +59,7 @@ public class SubCommand_Help implements CommandProcesser {
continue commandCheckLoop;
}
}
s.sendMessage(
MsgUtil.sendMessage(s,
ChatColor.GREEN
+ "/"
+ commandLabel