LunaChat v2.6.4 : Fixed issue #94
このコミットが含まれているのは:
1 親
e80aa29253
コミット
30bfd3f2e8
11ファイル変更
+266
-30
検索条件に一致するファイルはありません
@@ -7,7 +7,6 @@ package com.github.ucchyocean.lc.command;
|
||||
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
import com.github.ucchyocean.lc.Resources;
|
||||
import com.github.ucchyocean.lc.channel.ChannelPlayer;
|
||||
@@ -28,11 +27,7 @@ public class LunaChatReplyCommand extends LunaChatMessageCommand {
|
||||
public boolean onCommand(CommandSender sender, Command command,
|
||||
String label, String[] args) {
|
||||
|
||||
// プレイヤーでなければ終了する
|
||||
if (!(sender instanceof Player)) {
|
||||
sendResourceMessage(sender, PREERR, "errmsgIngame");
|
||||
return true;
|
||||
}
|
||||
// senderからChannelPlayerを作成する
|
||||
ChannelPlayer inviter = ChannelPlayer.getChannelPlayer(sender);
|
||||
|
||||
// 会話相手を履歴から取得する
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする