LunaChat v2.4.0 : Fixed some small bugs about issue #44 and #46.

このコミットが含まれているのは:
ucchyocean committed 2013-09-11 19:53:12 +09:00
1 親 2fec689363
コミット 6755bddf1b
8ファイル変更
+69 -35

検索条件に一致するファイルはありません

+15
ファイルの表示
@@ -5,6 +5,8 @@
*/
package com.github.ucchyocean.lc.command;
import org.bukkit.command.CommandSender;
/**
* moderatorコマンドのエイリアス実行クラス、名前のみが異なるが、他は全て一緒。
* @author ucchy
@@ -12,6 +14,7 @@ package com.github.ucchyocean.lc.command;
public class ModCommand extends ModeratorCommand {
private static final String COMMAND_NAME = "mod";
private static final String USAGE_KEY = "usageMod";
/**
* コマンドを取得します。
@@ -22,4 +25,16 @@ public class ModCommand extends ModeratorCommand {
public String getCommandName() {
return COMMAND_NAME;
}
/**
* 使用方法に関するメッセージをsenderに送信します。
* @param sender コマンド実行者
* @param label 実行ラベル
* @see com.github.ucchyocean.lc.command.SubCommandAbst#sendUsageMessage()
*/
@Override
public void sendUsageMessage(
CommandSender sender, String label) {
sendResourceMessage(sender, "", USAGE_KEY, label);
}
}