LunaChat v2.7.0 : Fixed issue #118

このコミットが含まれているのは:
ucchy committed 2015-02-13 18:57:19 +09:00
1 親 93d3cb7f73
コミット 3da5bd6a78
12ファイル変更
+107 -19

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

+2 -2
ファイルの表示
@@ -101,7 +101,8 @@ public class UnhideCommand extends SubCommandAbst {
// チャンネルかプレイヤーが存在するかどうかをチェックする
boolean isChannelCommand = false;
if ( api.isExistChannel(cname) ) {
Channel channel = api.getChannel(cname);
if ( channel != null ) {
isChannelCommand = true;
} else if ( Utility.getOfflinePlayer(cname) == null ) {
sendResourceMessage(sender, PREERR, "errmsgNotExistChannelAndPlayer");
@@ -112,7 +113,6 @@ public class UnhideCommand extends SubCommandAbst {
// チャンネルが対象の場合の処理
// 非表示になっているかどうかをチェックする
Channel channel = api.getChannel(cname);
if ( !channel.getHided().contains(player) ) {
sendResourceMessage(sender, PREERR, "errmsgAlreadyUnhided");
return true;